From: Jan Stancek <jstancek@redhat.com>
To: Caspar Zhang <caspar@casparzhang.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH 2/2] new syscall test: readahead02
Date: Fri, 17 Aug 2012 03:33:11 -0400 (EDT) [thread overview]
Message-ID: <2042336520.6477173.1345188791970.JavaMail.root@redhat.com> (raw)
In-Reply-To: <502C63AC.5080001@casparzhang.com>
----- Original Message -----
> From: "Caspar Zhang" <caspar@casparzhang.com>
> To: "Jan Stancek" <jstancek@redhat.com>
> Cc: ltp-list@lists.sourceforge.net
> Sent: Thursday, 16 August, 2012 5:06:20 AM
> Subject: Re: [LTP] [PATCH 2/2] new syscall test: readahead02
>
> 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.
Sounds reasonable, I also noticed seeing (and using) some snippets
over and over again.
Regards,
Jan
>
> 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
next prev parent reply other threads:[~2012-08-17 7:33 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
2012-08-17 7:33 ` Jan Stancek [this message]
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=2042336520.6477173.1345188791970.JavaMail.root@redhat.com \
--to=jstancek@redhat.com \
--cc=caspar@casparzhang.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