Re: Heap Management Problem

2015-04-14 Thread Valdis . Kletnieks
On Wed, 15 Apr 2015 12:28:06 +0800, 慕冬亮 said: > Can you give a detail of what you want to prove? > I am not familiar with heap management , so I ask for the details! As I said - heap management is usually mostly done in userspace. The way the standard glibc malloc() call does things is alm

Re: Heap Management Problem

2015-04-14 Thread 慕冬亮
Can you give a detail of what you want to prove? I am not familiar with heap management , so I ask for the details! mudongliang 2015-04-15 0:00 GMT+08:00 : > On Tue, 14 Apr 2015 23:01:58 +0800, 慕冬亮 said: > > > Hello Everyone: > > What's the rule about heap management? Especially what's the

Re: upstream EXPORT_SYMBOL() for out of tree module?

2015-04-14 Thread dwalker
On Tue, Apr 14, 2015 at 09:37:37AM +0200, Greg KH wrote: > On Thu, Apr 09, 2015 at 07:07:30PM +, dwal...@fifo99.com wrote: > > > > Hi all, > > > > > > I have an out of tree module which uses the xlate_dev_mem_ptr() function on > > x86. I wanted to know > > if the kernel community would acce

Question about fixmap

2015-04-14 Thread Alexander Kuleshov
Hello All, I'm reading x86_64 source code and trying to understand where are fixmaps space in the virtual memory space. If I understand correctly (but i'm really not sure about it), fixmap space is after vsyscall space. As Documentation/x86/x86_64/mm.txt says vsyscall virtual space is: ff

Re: Heap Management Problem

2015-04-14 Thread Valdis . Kletnieks
On Tue, 14 Apr 2015 23:01:58 +0800, 慕冬亮 said: > Hello Everyone: > What's the rule about heap management? Especially what's the function > of do_brk? Who says there's a "rule" about it? Some userspace heap managers don't even *use* brk() or sbrk(), but instead use mmap() of an anonymou

Heap Management Problem

2015-04-14 Thread 慕冬亮
Hello Everyone: What's the rule about heap management? Especially what's the function of do_brk? mudongliang ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: xtime variable in kernel 4.0

2015-04-14 Thread Nick Krause
On Tue, Apr 14, 2015 at 9:20 AM, Greg KH wrote: > On Tue, Apr 14, 2015 at 08:47:08AM -0400, Mohammad A Khasawneh wrote: >> Hi everyone, >> >> I'm trying to develop a syscall in kernel v4.0 which copies the xtime >> variable >> to user space. I can find the variable in 3.X but it seems to have bee

Re: xtime variable in kernel 4.0

2015-04-14 Thread Greg KH
On Tue, Apr 14, 2015 at 08:47:08AM -0400, Mohammad A Khasawneh wrote: > Hi everyone, > > I'm trying to develop a syscall in kernel v4.0 which copies the xtime variable > to user space. I can find the variable in 3.X but it seems to have been > changed > in 4.0. Can anyone point me to its location

Re: xtime variable in kernel 4.0

2015-04-14 Thread Anupam Kapoor
> [2015-04-14T18:17:08+0530]: "Mohammad A Khasawneh" (mohammad-Khasawneh): ,[ mohammad-Khasawneh ] | I'm trying to develop a syscall in kernel v4.0 which copies the xtime | variable to user space. I can find the variable in 3.X but it seems to have | been changed in 4.0. Can anyone point m

xtime variable in kernel 4.0

2015-04-14 Thread Mohammad A Khasawneh
Hi everyone, I'm trying to develop a syscall in kernel v4.0 which copies the xtime variable to user space. I can find the variable in 3.X but it seems to have been changed in 4.0. Can anyone point me to its location? Thanks, Mohammad Khasawneh ___ Kerne

Re: upstream EXPORT_SYMBOL() for out of tree module?

2015-04-14 Thread Greg KH
On Thu, Apr 09, 2015 at 07:07:30PM +, dwal...@fifo99.com wrote: > > Hi all, > > > I have an out of tree module which uses the xlate_dev_mem_ptr() function on > x86. I wanted to know > if the kernel community would accept a patch to add an EXPORT_SYMBOL() for > this kernel with > out the co