USER_DS in kernel threrad creation?

2008-05-02 Thread Anirban Sinha
Hi All: I was poring over the arch/x86/process_32.c:kernel_thread() code. Apparently (and surprisingly) it sets the kernel threads ds and es register to __USER_DS. I saw a very old thread on the kernel newbies on this, but I did not quite find a convincing reason in that thread. Any idea why

RE: EXPORT_SYMBOL Vs extern?

2008-05-05 Thread Anirban Sinha
EXPORT_SYMBOL macro creates a new kernel symbol entry (address of the symbol, symbol) based on the value you specify and puts it in a special section of the kernel image, in __ksymtab section. When modules are loaded dynamically, the loader resolves the symbols during run time by parsing the

RE: A new buddy in kernel programming

2009-05-14 Thread Anirban Sinha
Better still, start working for a company that has some projects with the linux kernel space. You get paid to do fun things :) Ani -Original Message- From: kernelnewbies-bou...@nl.linux.org [mailto:kernelnewbies- bou...@nl.linux.org] On Behalf Of abhish agarwal Sent: Wednesday,