Re: kbuild- sub directroy makefile

2015-04-22 Thread ratheesh kannoth
On Wed, Apr 22, 2015 at 9:36 PM, Greg KH g...@kroah.com wrote: Nope, why do you want to do that? The kernel build will show you that hello.o is being built, when it is built. Greg, There was some problem with env variables ( that i exported to shell from top ) that my makefile is using.

kbuild- sub directroy makefile

2015-04-22 Thread ratheesh kannoth
**Start of Makfile*** ccflags += -D DEXI obj-m := hello.o End* Is there any way i can echo a string ...like Hey i am building hello.o now in this makefile ? I tries targets like genbin as per

flush_dcache_page from user space.

2014-03-31 Thread ratheesh kannoth
I mmap'ed mmory allocated by kmalloc , to userspace. I can modify data ( in that memory region ) from kernel space or userspace and call flush_dcache_page to get it refected in both kernel and userspace. 1) if i modify a value from userspace, is there any other way to flush dcache page

Fwd: zero copy with PACKET_MMAP

2014-02-26 Thread ratheesh kannoth
Hi , The link https://www.kernel.org/doc/Documentation/networking/packet_mmap.txt talks about achieving zero copy. But i find a deep packet copy ( of length snaplen= skb-len ) here http://lxr.free-electrons.com/source/net/packet/af_packet.c#L1841. Is there anything missing/wrong in my