Hi,
kexec reserves memory for loading crash kernel in the boot time for
risk of DMA. I want to know,
How kexec prevents allocation of memory which is adjacent to DMA memory?
regards,
Ronit
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
On Tue, 17 May 2016 12:41:44 +0530, Ronit Halder said:
> Hi,
>
> Where in the memory kernel is located in the boot time?
During which exact phase of the boot, and does it actually matter? And
physical or virtual address?
(Hint: If you're not the bootstrap that unpacks the compressed kernel
Hi,
Where in the memory kernel is located in the boot time?
regards,
Ronit
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Sat, 29 Nov 2014, nick wrote:
Sorry Yiqun,
I was thinking of virtual memory so you are correct. I also haven't looked
into
the kernel memory subsystem(s) in a while so I may be a little behind in my
knownledge
of them.
2^1
The amount of memory that can be handled by a processor
On Sat, Nov 29, 2014 at 12:25:43AM +0900, J.Hwan Kim wrote:
Hi, everyone
As far as I know, the kernel memory limit is 1GB in 32bit system.
Is it also applicable to 64bit system?
What's the limit of kernel memory in 64bit system?
There is no limit :)
What do you really want to know
memory. So on my system with
8 GB of ram, the kernel can use up to 25 percent or 2 GB of ram.
Hope this answers your question,
Nick
On 2014-11-29 12:45 PM, Greg KH wrote:
On Sat, Nov 29, 2014 at 12:25:43AM +0900, J.Hwan Kim wrote:
Hi, everyone
As far as I know, the kernel memory limit is 1GB
, J.Hwan Kim wrote:
Hi, everyone
As far as I know, the kernel memory limit is 1GB in 32bit system.
Is it also applicable to 64bit system?
What's the limit of kernel memory in 64bit system?
There is no limit :)
What do you really want to know this for?
greg k-h
Sorry Yiqun,
I was thinking of virtual memory so you are correct. I also haven't looked into
the kernel memory subsystem(s) in a while so I may be a little behind in my
knownledge
of them.
Regards Nick
On 2014-11-29 03:54 PM, Yiqun Chen wrote:
Incorrect. The 64 bit machine theoretically
hi all:
I want to mmap a kernel memory area which sk_buf-data pointer
into userspace. I want to do this , because this way can reduce a copy
from kernel to userspace.
How to fix it? Or, which book or project can help me ?
Thank you
-Original Message-
From: kernelnewbies-boun...@kernelnewbies.org
[mailto:kernelnewbies-boun...@kernelnewbies.org] On Behalf Of lxgeek
Sent: Tuesday, August 19, 2014 2:54 AM
To: kernelnewbies
Subject: How to mmap kernel memory area to userspace ?
hi all:
I want to mmap
On Tue, 19 Aug 2014 17:54:14 +0800, lxgeek said:
I want to mmap a kernel memory area which sk_buf-data pointer
into userspace. I want to do this , because this way can reduce a copy
from kernel to userspace.
How to fix it? Or, which book or project can help me ?
Look at how
:
http://unix.stackexchange.com/questions/5124/what-does-the-virtual-kernel-memory-layout-in-dmesg-imply
I want to understand a few things about the memory and the execution
of Linux kernel.
Taking from a X86 and grub I have:
1) Grub loads kernel and root file system in memory
/what-does-the-virtual-kernel-memory-layout-in-dmesg-imply
I want to understand a few things about the memory and the execution
of Linux kernel.
Taking from a X86 and grub I have:
1) Grub loads kernel and root file system in memory, and the vmlinux
has the code to decompress it self
...@linux.com wrote:
Hi,
I'm looking for some site, pdf, book etc, that can answer this
questions.
For now I have :
http://unix.stackexchange.com/questions/5124/what-does-the-virtual-kernel-memory-layout-in-dmesg-imply
I want to understand a few things about the memory
Hi,
I'm looking for some site, pdf, book etc, that can answer this questions.
For now I have :
http://unix.stackexchange.com/questions/5124/what-does-the-virtual-kernel-memory-layout-in-dmesg-imply
I want to understand a few things about the memory and the execution
of Linux kernel.
Taking from
,
I'm looking for some site, pdf, book etc, that can answer this questions.
For now I have :
http://unix.stackexchange.com/questions/5124/what-does-the-virtual-kernel-memory-layout-in-dmesg-imply
I want to understand a few things about the memory and the execution
of Linux kernel.
Taking from
I am suspecting a memory leak in a kernel module that does layer 2
switching of data packets.
In the vmstat -m output the Num and Total keeps going up for the
kmalloc-512..
kmalloc-512 15232 15264512 16
Is this a clear indication of leak in the kernel or can there be
On Saturday 28 June 2014 12:29 PM, Santhosh Kumar wrote:
Is there a way to trace the allocations of memory from different buckets of
kmalloc ?
You could try out kmemleak -
https://www.kernel.org/doc/Documentation/kmemleak.txt
___
Kernelnewbies
Hello
How to detect the kernel memory overflow errors?
There are many tools to detect the user mode program memory problems, like the
memcheck(Valgrind), is there any tools for the kernel ?
The Kmemcheck detects some uses of uninitialized memory, can not detect the
overflow errors.
Thanks
On Thu, 29 May 2014 11:13:09 +0800, RS said:
How to detect the kernel memory overflow errors?
With a sufficiently recent gcc, you can build the kernel
with CONFIG_CC_STACKPROTECTOR=y which will put a canary
value on the stack and check it for corruption.
pgpsJAUnjB0ke.pgp
Description: PGP
Hello
em, this can protect the stack, so what about the memory buffer allocated
through the kmalloc or vmalloc ?
Thanks,
HeChuan
At 2014-05-29 12:01:10,valdis.kletni...@vt.edu wrote:
On Thu, 29 May 2014 11:13:09 +0800, RS said:
How to detect the kernel memory overflow errors
Hello
I have an idea, to add some changes to the kernel, like the kmemcheck, to help
to check the kernel memory.
I call it kernel_module_check_framework, it can check the memory buffer
overflow errors and others.
The memory buffer is what the user want to monitor, not the whole system's
Hello everyone,
I am experiencing a problem using my Linux 2.6.33 and doing this networking
test using ab, a tool from Apache which
helps me to benchmark the performances of a website, actually I am using that
as a tool for generate a lot of traffic and
TCP connections.
My topology is :
[AB
the parameter you passed in section start looks weird, given that your
physical memory so limited. (8K and 128K, 2 different bank? if so then
only one is available at any one time?),
Perhaps some knowledge about linker-script should help:
Hi
I'm working on an ARM926EJS based SOM (OMAPL138). The ARM has internal memory
spaces (8k one and 128k one) where i would like to put some code.
I thought to use something like :
void foobar (void) __attribute__ ((section (bar)));
Then link with
-Wl,--section-start,bar=1000
But the
The answer from manty is totally wrong.
I suggest that you put real question here.
在 2013年11月18日,15:17,manty kuma mantyk...@gmail.com 写道:
Here is an interesting question(not mine) in SO related to Kernel memory
management. Most of the points are my questions aswell. It needs ex[ert
comments
Here is an interesting question(not mine) in SO related to Kernel memory
management. Most of the points are my questions aswell. It needs ex[ert
comments. could we try to answer questions posted there.
http://stackoverflow.com/questions/20041212/does-virtual-memory-area-struct-only-comes
Am very new to kernel programming and one of the concept says that kernel
memory isn't pagable ? Can please someone explain its reason ?
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo
Hi
On Mon, Oct 21, 2013 at 8:53 AM, Nav Kamal navkama...@gmail.com wrote:
Am very new to kernel programming and one of the concept says that kernel
memory isn't pagable ? Can please someone explain its reason ?
If we try to page off kernel structures we might have a deadlock
trying to bring
Hi all,
This a vast topic. But I believe it's worthwhile exposing in greater detail
the Why this design has been chosen ?, before the How this design has
been implemented ?. And I think this is a common lack (or at least not
enough developed) in documentations, even in the more outstanding of
Hi Telenn,
On Fri, Oct 19, 2012 at 3:03 PM, telenn barz telenn.b...@gmail.com wrote:
Hi all,
This a vast topic. But I believe it's worthwhile exposing in greater
detail the Why this design has been chosen ?, before the How this design
has been implemented ?. And I think this is a common
Hi,
I am a kernel newbie too, Kernel memory is not pagable, because kernel
itself is responsible for paging. See this discussion,
http://kerneltrap.org/node/6404
Paging happens for regular processes, i.e each process memory is divided
into a page of certain size(4kb in Linux), so it can swap
to growing kernel Data structures it is allowed
http://kerneltrap.org/node/6404
http://kerneltrap.org/node/8206
Regards
Kishore
On Thu, Jun 21, 2012 at 5:57 PM, Vijay Chauhan kernel.vi...@gmail.comwrote:
Hello,
I am newbie.
It has been said kernel memory is not pageable
What does it mean
Hello Vijay,
On Thu, Jun 21, 2012 at 5:57 PM, Vijay Chauhan kernel.vi...@gmail.com wrote:
Hello,
I am newbie.
It has been said kernel memory is not pageable
What does it mean? There is no concept of kernel virtual address?
You might have heard about 3G/1G split. This 1GB is the virtual
Vijay Chauhan kernel.vi...@gmail.com writes:
Hello,
I am newbie.
It has been said kernel memory is not pageable
What does it mean? There is no concept of kernel virtual address?
Yes. Kernel works on static adress space.
Any simple explanation will help me to udnerstand.
I'm not sure
Hi, everyone
How can I allocated contiguous kernel memory over 128MB ?
When I use _get_free_pages() function, it returns error.
I guess the memory size is greater than the amount which the function
can allocate.
Thanks in advance.
Best Regards,
J.Hwan Kim
Hi,
On Thu, Dec 22, 2011 at 6:33 PM, J.Hwan Kim frog1...@gmail.com wrote:
Hi, everyone
How can I allocated contiguous kernel memory over 128MB ?
When I use _get_free_pages() function, it returns error.
I guess the memory size is greater than the amount which the function
can allocate.
You
Hi Geraint,
On Thu, Nov 10, 2011 at 8:44 PM, Geraint Yang geraint0...@gmail.com wrote:
Hi Dave,
Thank you for your help !
Does it mean that I could use all of the memory my computer has? But one of
my classmates told me that kernel could only use 1G from a 4G
memory.computer...Is there
Thank you !
I will try kmap/kunmap later.
On Fri, Nov 11, 2011 at 4:20 PM, Dave Hylands dhyla...@gmail.com wrote:
Hi Geraint,
On Thu, Nov 10, 2011 at 8:44 PM, Geraint Yang geraint0...@gmail.com
wrote:
Hi Dave,
Thank you for your help !
Does it mean that I could use all of the memory
Hi there,
I am a newbie to Linux kernel programming. I am going to make a module
which will cost much memory in kernel, I just want to know how much
memory I can get by calling memory allocate API in kernel.
Any help will be appreaciated.
___
Hi,
On Thu, Nov 10, 2011 at 6:23 AM, Geraint Yang geraint0...@gmail.com wrote:
Hi there,
I am a newbie to Linux kernel programming. I am going to make a module
which will cost much memory in kernel, I just want to know how much
memory I can get by calling memory allocate API in kernel.
All
Hi Dave,
Thank you for your help !
Does it mean that I could use all of the memory my computer has? But one of
my classmates told me that kernel could only use 1G from a 4G
memory.computer...Is there anything I have misunderstood ?
On Fri, Nov 11, 2011 at 4:58 AM, Dave Hylands dhyla...@gmail.com
On Fri, Nov 11, 2011 at 12:44 PM, Geraint Yang geraint0...@gmail.com wrote:
Hi Dave,
Thank you for your help !
Does it mean that I could use all of the memory my computer has? But one of
my classmates told me that kernel could only use 1G from a 4G
memory.computer...Is there anything I have
Quoting Geraint Yang geraint0...@gmail.com:
Hi Dave,
Thank you for your help !
Does it mean that I could use all of the memory my computer has? But one of
my classmates told me that kernel could only use 1G from a 4G
memory.computer...Is there anything I have misunderstood ?
I'm sitting in
Thanks.
But I think that command 'free' just tell the memory used in kernel space
and user space.It is still unknown to us that how much memory is used by
kernel.
On Fri, Nov 11, 2011 at 1:15 PM, Dave Stevens g...@uniserve.com wrote:
Quoting Geraint Yang geraint0...@gmail.com:
Hi Dave,
On Tue, 6 Sep 2011 17:48:12 +0530, Vijay Chauhan wrote:
Hi,
i was going through the Linux Kernel Development book. It mention the
following:
Additionally, kernel memory is not pageable.Therefore, every byte of
memory you consume is one less byte of available physical memory.
What
)
4. How to identify Connected USB Storage device (Harddisk, flash
Memoryor SSD) (mani)
5. Paging of Kernel Memory (Vijay Chauhan)
6. Re: Paging of Kernel Memory (Christopher Harvey)
--
Message: 1
Date: Tue
Hi :)
On Wed, Sep 7, 2011 at 09:44, ashish anand ashishanand2...@gmail.com wrote:
Hi
on wed 7th sep Christopher Harvey wrote
It means that it can't be swapped to your swap partition, even if
you're not using it.
this thing I understood it pretty well but what about the line
Therefore,
Hi Vaibhav,
On Mon, Jul 25, 2011 at 3:17 PM, Vaibhav Jain vjoss...@gmail.com wrote:
Hi,
I read a few articles on linux virtual memory management such as this one :
http://lwn.net/Articles/75174/
which say that earlier linux kernel could only use memory slightly below 1
GB. They have
given
Hi Vaibhav,
On Mon, Jul 25, 2011 at 9:40 PM, Vaibhav Jain vjoss...@gmail.com wrote:
Hi Dave, Santhosh,
Thanks for the reply! I was talking about the following paragraph from the
reference you provided :
The kernel (on the x86 architecture, in the default configuration) splits
the 4-GB
Hello,
I wanted to know how much kernel and userspace memory is available on the
Linux system during run-time either by some C code or some procfile.
Do you know how to do that?
Thanks,
Dev
___
Kernelnewbies mailing list
Hello all,
I just want to allocate memory for a struct instantiation. Would anyone
guide me what arguments I should pass to kmalloc_node?
Regards,
--
Amirali Shambayati
Bachelor Student
Computer Engineering Department
Sharif University of Technology
Tehran, Iran
Hi.
From [1] I'm lead to believe the only difference between the regular kmalloc()
arguments and those of kmalloc_node() is the one specifying which node you want
to allocate the memory on.
Aside from the third argument, which seems to be related with NUMA (with which
I never worked on
Hi.
In future replies, please CC the list.
Does it panic in during the kmalloc, or afterwards? Are you checking if
'newBun' is NULL?
I may be missing something obvious in that code, but unless you are out of
memory or with some past corruption, I don't think that should panic the kernel.
In
Hello,
Once again, I would pretty much enjoy if you CC'ed the list on replies.
On Jun 3, 2011, at 8:49 PM, Amirali Shambayati wrote:
I set breakpoint before kmalloc. panic happens after kmalloc.
2011/6/4 Amirali Shambayati amirali.shambay...@gmail.com
ofcourse it's null before allocate
-- Forwarded message --
From: Dev Null devnull...@gmail.com
Date: Tue, May 31, 2011 at 4:08 PM
Subject: Check Kernel Memory Allocation
To: kernelnewbies Newbies kernelnewb...@nl.linux.org
Hello,
I wanted to know how much kernel and userspace memory is available on the
Linux
On Fri, Jun 3, 2011 at 01:05, Dev Null devnull...@gmail.com wrote:
I wanted to know how much kernel and userspace memory is available on the
Linux system during run-time either by some C code or some procfile.
have you checked /proc/meminfo and its handler?
--
regards,
Mulyadi Santosa
Hi Dev,
I wanted to know how much kernel and userspace memory is available on the
Linux system during run-time either by some C code or some procfile.
Do you know how to do that?
You can look in /proc/meminfo
http://unixfoo.blogspot.com/2008/02/know-about-procmeminfo.html
The memory is
58 matches
Mail list logo