where to get xfstest package?

2010-08-19 Thread Ryan Wang
thanks, -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

question about CONFIG_BASE_SMALL

2010-08-04 Thread Ryan Wang
Hi all, I noticed CONFIG_BASE_SMALL in different parts of the kernel code, with ifdef/ifndef. I wonder what does CONFIG_BASE_SMALL mean? And how can I configure it, e.g. through make menuconfig? thanks, -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies"

Re: About #if !defined(MB_CACHE_INDEXES_COUNT) || (MB_CACHE_INDEXES_COUNT > 0) in mbcache

2010-07-21 Thread Ryan Wang
2010/7/20 Andreas Gruenbacher : > Ryan, > > On Saturday 17 July 2010 12:52:48 Ryan Wang wrote: >> Hi, >> >>        I wonder when MB_CACHE_INDEXES_COUNT is undefined >> in mbcache? In mbcache.h, MB_CACHE_INDEXES_COUNT is >> set 1, so this #if always ge

About #if !defined(MB_CACHE_INDEXES_COUNT) || (MB_CACHE_INDEXES_COUNT > 0) in mbcache

2010-07-17 Thread Ryan Wang
Hi, I wonder when MB_CACHE_INDEXES_COUNT is undefined in mbcache? In mbcache.h, MB_CACHE_INDEXES_COUNT is set 1, so this #if always gets true. Can we remove it for it seems meaningless. thanks, -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecar...@nl

How to determine the disk driver you used?

2010-06-17 Thread Ryan Wang
Hi all, I wonder how to determine the device driver you used with your root filesystem? Or rather the driver used by disk hosting root filesystem? Do any commands can work? thanks, -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecar...@nl.linu

Re: oom killer and long-waiting processes

2010-06-10 Thread Ryan Wang
2010/6/11 David Rientjes : > On Thu, 10 Jun 2010, Ryan Wang wrote: > >> Hi all, >> >>         I have one question about oom killer: >> If many processes dealing with network communications, >> but due to bad network traffic, the processes have to wait >>

oom killer and long-waiting processes

2010-06-10 Thread Ryan Wang
Hi all, I have one question about oom killer: If many processes dealing with network communications, but due to bad network traffic, the processes have to wait for a very long time. And meanwhile they may consume some memeory separately for computation. The number of such processes may be

Re: When and how to use ftrace?

2010-06-09 Thread Ryan Wang
2010/6/9 Neependra Khare : > > > On Wed, Jun 9, 2010 at 11:02 AM, Ryan Wang wrote: >> >> I really want to know is the differences between ftrace and other kernel >> debug >> tools such as kdump, kdb, etc. > > Lets say you want to know what ext2/ext3/ext4 fu

Re: When and how to use ftrace?

2010-06-09 Thread Ryan Wang
2010/6/9 wu zhangjin : > Hi, > > On Wed, Jun 9, 2010 at 4:14 PM, Ryan Wang wrote: > [...] >>>> >>>> -- >>>> To unsubscribe from this list: send an email with >>>> "unsubscribe kernelnewbies" to ecar...@nl.linux.org >>>

Re: When and how to use ftrace?

2010-06-08 Thread Ryan Wang
2010/6/9 Steven Rostedt : > On Wed, 2010-06-09 at 09:38 +0800, Ryan Wang wrote: >> Hi all, >> >>        I'm new to kernel development, and I'm learning >> ftrace recently. I have one question: >>        When to use ftrace, or in which cases ftrace c

Re: About struct blockgroup_lock

2010-05-18 Thread Ryan Wang
2010/5/16 Simon Kitching : > On Sat, 2010-05-15 at 22:58 +0800, Ryan Wang wrote: >> Hi, >> >>      Recently I was reading some code about filesystems, and I found >> the usage of struct blockgroup_lock is confusing. I have 3 questions >> about it, and please help

Re: About struct blockgroup_lock

2010-05-18 Thread Ryan Wang
2010/5/16 Simon Kitching : > On Sat, 2010-05-15 at 22:58 +0800, Ryan Wang wrote: >> Hi, >> >> Recently I was reading some code about filesystems, and I found >> the usage of struct blockgroup_lock is confusing. I have 3 questions >> about it, and please help

About struct blockgroup_lock

2010-05-15 Thread Ryan Wang
Hi, Recently I was reading some code about filesystems, and I found the usage of struct blockgroup_lock is confusing. I have 3 questions about it, and please help give me some instuctions on them. http://lxr.linux.no/#linux+v2.6.32/include/linux/blockgroup_lock.h 1) What is the relationshi

Re: question about __v annotation

2010-01-03 Thread Ryan Wang
2010/1/3 Ryan Wang : > 2010/1/2 Shawn : >> hello guys, >>  I got a newbie confused when I was looking into the source code of >> s3c2440's RTC driver.I dont know what is __v excatly means.anyone can >> tell?thanks anyway! >> >> #define readb(c) (

Re: question about __v annotation

2010-01-03 Thread Ryan Wang
2010/1/2 Shawn : > hello guys, >  I got a newbie confused when I was looking into the source code of > s3c2440's RTC driver.I dont know what is __v excatly means.anyone can > tell?thanks anyway! > > #define readb(c) ({ __u8  __v = __raw_readb(__mem_pci(c)); __v; }) > > -- > GNU powered it... > GPL