Re: kmem_cache_init

2013-03-15 Thread Prabhu nath
kmem_cache_init() will create generalized caches from where kmalloc() will allocate memory. vfs_caches_init() will create specialized caches related to VFS, like, dentry, inode_cache, mnt_cache Regards, Prabhunath G Linux Trainer Bangalore On Fri, Mar 15, 2013 at 10:08 AM, ishare

Re: Need of different memory zones

2013-03-15 Thread Arun KS
Hi Niroj, On Wed, Mar 13, 2013 at 3:16 PM, Niroj Pokhrel nirojpokh...@gmail.com wrote: Hi All, I have been studying Memory Management in linux. But I am confused with the division of different ZONE. The use of ZONE_DMA and ZONE_NORMAL is fine. But I am confused with ZONE_HIGHMEM, if the

Re: networking question

2013-03-15 Thread devendra.aaru
This is my client: #include stdio.h #include sys/socket.h #include netinet/in.h main() { int s; int opt = 1; struct sockaddr_in serv; char *ip = 192.168.20.166; struct sockaddr_in m; s = socket(AF_INET, SOCK_DGRAM, 0); serv.sin_family =

[ARM-LINUX] Quiry regarding the DMA mapping.

2013-03-15 Thread sandeep kumar
Dear All i have one question regarding DMA mapping. i know that dma_alloc* API does the mapping for DMA' able memory. But is it the only way to get dma'able memory? Can we do a dma to pmem or ion reserved heaps as well, right away without dma_alloc?(this also assures us the physical contigious

Re: Need of different memory zones

2013-03-15 Thread Arun KS
Hi Niroj, On Fri, Mar 15, 2013 at 2:39 PM, Niroj Pokhrel nirojpokh...@gmail.com wrote: On Fri, Mar 15, 2013 at 12:31 PM, Arun KS getaru...@gmail.com wrote: Hi Niroj, On Wed, Mar 13, 2013 at 3:16 PM, Niroj Pokhrel nirojpokh...@gmail.com wrote: Hi All, I have been studying Memory

Re: kmem_cache_init

2013-03-15 Thread ishare
On Fri, Mar 15, 2013 at 11:39:07AM +0530, Prabhu nath wrote: kmem_cache_init() will create generalized caches from where kmalloc() will allocate memory. vfs_caches_init() will create specialized caches related to VFS, like, dentry, inode_cache, mnt_cache what is the relation between

block mailing list?

2013-03-15 Thread Raymond Jennings
Is there a kernel list dedicated to discussion of block devices? ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: block mailing list?

2013-03-15 Thread Valdis . Kletnieks
On Fri, 15 Mar 2013 06:22:14 -0700, Raymond Jennings said: Is there a kernel list dedicated to discussion of block devices? What's to discuss? There probably isn't enough ongoing traffic to support a separate mailing list (we got too many of them as it is :) MAINTAINERS says: BLOCK LAYER M:

linux-newbie vs kernelnewbies

2013-03-15 Thread Raymond Jennings
Is there much of a difference between these two lists? ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: linux-newbie vs kernelnewbies

2013-03-15 Thread Jack Wang
I think linux-newbie is for discussion of Linux common question, most related to user space for newbie in the linux world. kernelnewbie focus on kernel dev discussion. Jack 2013/3/15 Raymond Jennings shent...@gmail.com Is there much of a difference between these two lists?

Re: linux-newbie vs kernelnewbies

2013-03-15 Thread Raymond Jennings
On Fri, Mar 15, 2013 at 4:48 PM, information.security.ad...@gmail.com information.security.ad...@gmail.com wrote: I thought linux newbies was for people new to linux. I guess it is not. I sent a question to about getting my network connection working and was directed elsewhere. I think these