public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Caspar Zhang <caspar@casparzhang.com>
To: Jan Stancek <jstancek@redhat.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH 2/2] new syscall test: readahead02
Date: Thu, 16 Aug 2012 11:06:20 +0800	[thread overview]
Message-ID: <502C63AC.5080001@casparzhang.com> (raw)
In-Reply-To: <629a102c48a441d322209733b767a34ea207a191.1345032017.git.jstancek@redhat.com>

On 08/15/2012 08:04 PM, Jan Stancek wrote:
>
> Use readahead() syscall and check if subsequent
> read saves some I/O and if cache size increased.
>
> Signed-off-by: Jan Stancek <jstancek@redhat.com>
> ---
>   testcases/kernel/syscalls/readahead/readahead02.c |  371 +++++++++++++++++++++
>   1 files changed, 371 insertions(+), 0 deletions(-)
>   create mode 100644 testcases/kernel/syscalls/readahead/readahead02.c
>

I'm thinking if we should write some common codes to fetch certain 
fields from /proc/meminfo and if we should move read/write 
/sys/kernel/vm files to libkerntest... We do have some duplicated 
functions in mm tests.

Caspar



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

  reply	other threads:[~2012-08-16  3:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-15 12:03 [LTP] [PATCH 1/2] new syscall test: readahead01 Jan Stancek
2012-08-15 12:04 ` [LTP] [PATCH 2/2] new syscall test: readahead02 Jan Stancek
2012-08-16  3:06   ` Caspar Zhang [this message]
2012-08-17  7:33     ` Jan Stancek
2012-10-04 11:33       ` chrubis
2012-10-04 14:25   ` chrubis
2012-08-16  3:02 ` [LTP] [PATCH 1/2] new syscall test: readahead01 Caspar Zhang
2012-10-04 14:18 ` chrubis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=502C63AC.5080001@casparzhang.com \
    --to=caspar@casparzhang.com \
    --cc=jstancek@redhat.com \
    --cc=ltp-list@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox