Re: try_to_unmap_file( ) in non-linear memory region of the file

2007-11-27 Thread Thomas Petazzoni
Le Tue, 27 Nov 2007 19:30:00 +0800, "Wang Yu" <[EMAIL PROTECTED]> a écrit : > When the mapping is non-linear, in try_to_unmap_file( ) we will have > the following codes: For those (like me) who are discovering what non-linear mappings are, LWN has an insightful introduction article: http://lwn.ne

Re: where is asm directory in 2.6.11 ?!

2007-11-27 Thread Thomas Petazzoni
Le Wed, 28 Nov 2007 00:11:37 +0330, "Iman Darabi" <[EMAIL PROTECTED]> a écrit : > On Nov 28, 2007 12:09 AM, Iman Darabi <[EMAIL PROTECTED]> wrote: > interesting ... > i can guess why : maybe because of symlink's path ( am i right ? ) > > but what about modules : > i use this command to compile m

Re: __devinit

2007-11-27 Thread Rene Herman
On 28-11-07 00:42, Mansha Linux wrote: what is the significance of the __devinit in the init_module() ? It's not specific to the module_init() function... It's a pre-processor macro that's defined as: #ifdef CONFIG_HOTPLUG # define __devinit #else # define __devinit __init #endif That i

suggestions for fixed mmap addresses on x86_64?

2007-11-27 Thread anthony
Hello, Could anyone advise on good addresses to use for mmap'ing some (position-dependent) data files on x86_64 linux? On 32-bit I was using 0xD00 which seemed to be a plausible free area. Despite some googling I haven't managed to find a description of the x86_64 process virt memory layout,

__devinit

2007-11-27 Thread Mansha Linux
HI all, what is the significance of the __devinit in the init_module() ? -- regards, Mansha

why do some header files check for ! __KERNEL__

2007-11-27 Thread Robert P. J. Day
i'm curious about the fact that a small number of header files that are exported to user space have preprocessor checks for *not* defined __KERNEL__, as in: linux/acct.h:#if !defined(CONFIG_M68K) || !defined(__KERNEL__) video/edid.h:#if !defined(__KERNEL__) || defined(CONFIG_X86) it's obviou

Re: where is asm directory in 2.6.11 ?!

2007-11-27 Thread Iman Darabi
On Nov 28, 2007 12:09 AM, Iman Darabi <[EMAIL PROTECTED]> wrote: interesting ... i can guess why : maybe because of symlink's path ( am i right ? ) but what about modules : i use this command to compile my module : make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules #shell uname -r -> 2

Re: where is asm directory in 2.6.11 ?!

2007-11-27 Thread Adrian Bunk
On Tue, Nov 27, 2007 at 08:47:20PM +0330, Iman Darabi wrote: > hi > 2.6.11 don't have any include/asm directory but i can compile some > modules which has or even content of is : >... > i got 2.6.11 from kernel.org . ( 2.6.4 is the same as 2.6.11 ) > > BTW : 2.6.22 has asm symbolic link to asm

where is asm directory in 2.6.11 ?!

2007-11-27 Thread Iman Darabi
hi 2.6.11 don't have any include/asm directory but i can compile some modules which has or even content of is : #ifndef _LINUX_IOCTL_H #define _LINUX_IOCTL_H #include #endif /* _LINUX_IOCTL_H */ i'm wondring why module compilation dosen't give me any error ?! ( even kernel compilation was

Re: rquota

2007-11-27 Thread Trond Myklebust
On Tue, 2007-11-27 at 16:38 +0200, Matti Aarnio wrote: > On Tue, Nov 27, 2007 at 07:55:29PM +0530, shivali sgupta wrote: > > Doesnt any rfc exists for it? > > No. There is NFS, and RPC described in RFCs, but quota is not there. > Thus "the source is the document"... > > /Matti Aarnio Although

Re: rquota

2007-11-27 Thread Matti Aarnio
On Tue, Nov 27, 2007 at 07:55:29PM +0530, shivali sgupta wrote: > Doesnt any rfc exists for it? No. There is NFS, and RPC described in RFCs, but quota is not there. Thus "the source is the document"... /Matti Aarnio -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbie

Re: rquota

2007-11-27 Thread shivali sgupta
Doesnt any rfc exists for it? On 11/27/07, Matti Aarnio <[EMAIL PROTECTED]> wrote: > > On Tue, Nov 27, 2007 at 06:58:55PM +0530, kernel learner wrote: > > Hi, > > > > Can anyone please tell me where i can find the details for rquota > protocol? > > and also, the various packets and their formats w

rquota

2007-11-27 Thread kernel learner
Hi, Can anyone please tell me where i can find the details for rquota protocol? and also, the various packets and their formats which it sends to the rquotad server. Regards, KL -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to [EMAIL PROTECTED] Please read the

Re: rquota

2007-11-27 Thread Matti Aarnio
On Tue, Nov 27, 2007 at 06:58:55PM +0530, kernel learner wrote: > Hi, > > Can anyone please tell me where i can find the details for rquota protocol? > and also, the various packets and their formats which it sends to the > rquotad server. > > Regards, > KL Pick sources of the "quota" package, a

Re: [OOT] To Rene: welcome back!

2007-11-27 Thread Rene Herman
On 27-11-07 10:23, Mulyadi Santosa wrote: Just wanna say, welcome back Rene! He has been long gone... now he's back! Ehm. Given that I haven't been seeing other rene's, I guess that's me? I've not been unsubscribed from the list or anything... And, well, regardless, thanks for the welcome.

try_to_unmap_file( ) in non-linear memory region of the file

2007-11-27 Thread Wang Yu
Hi, all When the mapping is non-linear, in try_to_unmap_file( ) we will have the following codes: list_for_each_entry(vma, &mapping->i_mmap_nonlinear, shared.vm_set.list) { if ((vma->vm_flags & VM_LOCKED) && !migration)

Re: Using large memory > 4GB in Linux Kernel

2007-11-27 Thread Mulyadi Santosa
Hi... 1. What CONFIG parameters for kernel compilation is needed (or is for this purpose)? Please check Vivek's and Michael's answers ... 2. Which are the main key functions or global variable for going this? The pagetable is still the same mem_map right? You meant, how to ask for pag

Re: Need help with debugging (gcc bug?)

2007-11-27 Thread Mulyadi Santosa
Hi... Coming a bit late.. As you see, with -Os, this produces: /* THIS FIELD IS ONLY 16 BITS */ movl4(%ebx), %eax movw%ax, (%esi) While the no-optimizations code looks like this: movl8(%ebp), %eax movzwl 4(%eax), %eax movl%eax, %

[OOT] To Rene: welcome back!

2007-11-27 Thread Mulyadi Santosa
Hi everyone.. Just wanna say, welcome back Rene! He has been long gone... now he's back! regards, Mulyadi -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to [EMAIL PROTECTED] Please read the FAQ at http://kernelnewbies.org/FAQ