----- Original Message -----
> From: "Caspar Zhang" <[email protected]>
> To: "Jan Stancek" <[email protected]>
> Cc: [email protected]
> 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 <[email protected]>
> > ---
> >   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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to