Re: process checkpointing

2010-08-29 Thread Anupam Kapoor
On Sun, Aug 29, 2010 at 9:44 PM, James Bond jamesbond.2...@gmail.com wrote: Please share some link if you feel worth sharing here in this thread. http://cryopid.berlios.de/ have fun. kind regards anupam -- In the beginning was the lambda, and the lambda was with Emacs, and Emacs was the

Re: /dev/console (deleted)

2009-10-11 Thread Anupam Kapoor
From above list, the standard in/out and error for init processes have links to /dev/console (deleted). Does anyone knows what the deleted means here? apparently the 'real' /dev/console to which this symbolic link points to is gone... anupam -- In the beginning was the lambda, and the

Re: arr[0] is kernel code ???

2009-04-30 Thread Anupam Kapoor
hi, first of all: http://justfuckinggoogleit.com/ second: it allows the element in the structure to reference memory that follows and is contiguous with the structure instance. also known as 'flexible array member' in c99. kind regards anupam On Thu, Apr 30, 2009 at 8:43 AM, Onkar

Re: Writing Vlan driver

2009-01-07 Thread Anupam Kapoor
Tekale Sharad-FHJN fhj...@motorola wrote: , | I'm looking for virtual lan driver for Marvell switch(88e6060). ` iirc, Lennert Buytenhek has already added an implementation of dsa into the kernel. for doing vlan/bridging stuff, i can think of 2 possibilities : - snoop 'brctl'

Re: dynamic static linking library --

2008-12-15 Thread Anupam Kapoor
nidhi mittal nidhimitta...@gmail wrote: , | hi all i know its not directly related to kernel ...but its the doubt | i got while kernel programming only ..its in c langugage it wd be kind | if you accept this ques and answer it i have a doubt regarding linking | of libraries in c program

Re: ACM: Research and developments in the Linux kernel

2008-08-12 Thread Anupam Kapoor
Peter Teoh [EMAIL PROTECTED] wrote: , | virtio: towards a de-facto standard for virtual I/O devices | Rusty Russell | | Virtual servers and checkpoint/restart in mainstream Linux | Sukadev Bhattiprolu, Eric W. Biederman, Serge Hallyn, Daniel Lezcano ` thank you ! very

Re: Some basic questions about git

2008-06-17 Thread Anupam Kapoor
Manish Katiyar [EMAIL PROTECTED] wrote: , | As you can expect I had changed this file and already committed this | change and I got the same changes with the git pull. My question is | how | do I merge them both to have the correct changes, or how do I resolve | the conflicts in such

Re: list of fuctions defined and exported by a library

2008-06-17 Thread Anupam Kapoor
Rahul Ramasubramanian ramasubramanian wrote: , | i am trying to get a list of functions defined by any | library and exported as globals . ` wouldn't just looking for 'FUNC' and 'GLOBAL' do the job ? i have tried it locally on and it seems to provide some useful info: , | [EMAIL

Re: Effect of strace

2008-05-23 Thread Anupam Kapoor
Peerless Deepak [EMAIL PROTECTED] wrote: , | So I started the application with strace and captured the output using | a serial output. | But now the application which was frequently crashing without strace | , is not crashing. ` heisenbug anupam -- To unsubscribe from this list: send

Re: insmod implementation

2008-05-15 Thread Anupam Kapoor
On Wed, May 14, 2008 at 5:53 PM, Sandeep K Sinha [EMAIL PROTECTED] wrote: http://www.linuxjournal.com/article/2568 this article has more to do with introducing new binary formats into the (pleistocene era) kernel. insmod would be doing something similar to what runtime linker does for normal

Re: .jcr section in ELF executable

2008-05-06 Thread Anupam Kapoor
Shyamal Shukla [EMAIL PROTECTED] wrote: , | What role does the .jcr (java class registration) section play in an | ELF executable? ` fwiw: !kernelnewbies anyways, here you go: all java-classes must be (apparently) registered with the runtime during startup. so, you can either have a

Re: why kernel use git instead of CVS or SVN

2008-05-04 Thread Anupam Kapoor
vichy vichy wrote: , | Dear all: Right now the kernel and Xorg is maintained by git rather | than SVN or CVS. Would someone tell me the reason why the kernel | repository uses git? Thanks a lot, vichy ` linus doesn't scale anupam -- To unsubscribe from this list: send an email with

Re: timerfd syscall

2008-04-28 Thread Anupam Kapoor
Michael Kerrisk mtk wrote: On Mon, Apr 28, 2008 at 7:12 AM, Anupam Kapoor [EMAIL PROTECTED] wrote: , | one simple question though: should'nt it be possible to simulate the | interface provided by timerfd using a combination of signalfd + | getitimer ? | | Each timer delivers its

Re: timerfd syscall

2008-04-27 Thread Anupam Kapoor
, | Anupam Kapoor anupam wrote: | | http://www.kernel.org/doc/man-pages/online/pages/man2/timerfd_create.2.html | many thanks michael and mulyadi for the info. i will check it out on a | vmware setup tonite. ` i tried it yesterday night on my test setup, and it seems to work fine

Re: timerfd syscall

2008-04-24 Thread Anupam Kapoor
http://www.kernel.org/doc/man-pages/online/pages/man2/timerfd_create.2.html many thanks michael and mulyadi for the info. i will check it out on a vmware setup tonite. kind regards anupam -- In the beginning was the lambda, and the lambda was with Emacs, and Emacs was the lambda. -- To

Re: network drivers

2008-03-12 Thread Anupam Kapoor
On Wed, Mar 12, 2008 at 3:57 PM, PalaniVel Rjan [EMAIL PROTECTED] wrote: Hi, I am working on linux networking. I would like to know how I can start writing a simple network driver on linux and test the same. Can anyone suggest good online material or tutorial? why don't you look at the

Re: What is vDSO?

2008-02-14 Thread Anupam Kapoor
On Thu, Feb 14, 2008 at 8:12 AM, Peter Teoh [EMAIL PROTECTED] wrote: When I compiled my kernel today I noticed: INSTALL vdso32-int80.so INSTALL vdso32-sysenter.so don't these have to do with syscall implementation on x86 machines ? with int80 being the old s/w interrupt mechanism which

Re: atomic_t

2008-01-03 Thread Anupam Kapoor
I would imagine that it's so fields could be added to the structure in the future without needing to change all the source code that references the initial integer. also check out ldd 3rd ed. chapter 5 (atomic variables) reproduced here: quote An atomic_t holds an int value on all supported

Re: Compiling modules

2008-01-03 Thread Anupam Kapoor
On Jan 3, 2008 7:47 PM, Peter Poulsen [EMAIL PROTECTED] wrote: What is the 'M' variable actually used for? M=XXX is used to tell the kbuild mechanism that a module is being, with the kbuild file itself existing at option value i.e XXX. for understanding how it all fits, you would have to look at

Re: why do we use while (0)

2007-12-25 Thread Anupam Kapoor
sahlot arvind [EMAIL PROTECTED] wrote: , | Recently I started looking into linux kernel and trying to understand | the code. I am working with linux-2.6.9. in file | include/llinux/list.h - I found something like this. | | #define INIT_LIST_HEAD(ptr) do { \ | (ptr)-next = (ptr);

Re: Constant Socket Receive Buffer

2007-12-09 Thread Anupam Kapoor
Why sws avoidance? The sender side implementation is don't send a small packet due to a small window if there are other packets on transmit, isn't it? if you set your rx-buf mtu then sender would enter sws no ? anupam -- In the beginning was the lambda, and the lambda was with Emacs, and

Re: difference between linux -2.4 and linux -2.6

2007-11-29 Thread Anupam Kapoor
what is the difference between Linux -2.4 and lnux -2.6 google for wonderful world of linux 2.6 by joe pranevich (sp ?) anupam -- In the beginning was the lambda, and the lambda was with Emacs, and Emacs was the lambda. -- To unsubscribe from this list: send an email with unsubscribe

Re: Zeoring out memory

2007-11-10 Thread Anupam Kapoor
On Nov 10, 2007 3:10 AM, Mohammad M Molla [EMAIL PROTECTED] wrote: Let me clarify. I am porting an ethernet driver from Linux to an embedded OS which does not have memset. So yeh, its in kernel space (not linux kernel) and I need some software mechanism to zero fill the memory. Also the

Re: how long does a single context switch take ?

2007-10-24 Thread Anupam Kapoor
Thank you for this elaborate clarification. I was indeed interested in #3, although #1 and #2 are also interesting. from what i recall, la_ctx measures #3. it does so by creating a ring of unix processs connected with pipe, and then passes a token around, each processes does some work polluting

Re: how long does a single context switch take ?

2007-10-23 Thread Anupam Kapoor
I am looking for a rule of thumb regarding the time it takes to context switch in linux (any other OS comparison would be interesting too) on a modern hardware (x86 is probably the most interesting, but other numbers might be handy too if anyone has them). iirc lmbench provides mechanism to

Re: how long does a single context switch take ?

2007-10-23 Thread Anupam Kapoor
Thanks but I was hoping for some results... some context switch measurements, not necessarily accurate - just to have a rough sense of how much it takes.. well, just download lmbench for your distro, and check it out. you can get some rough estimates. anupam -- In the beginning was the

Re: Kernel scheduler profiling

2007-10-16 Thread Anupam Kapoor
Are there any tools to profile the kernel scheduler? For a short period of time, I would like to know the sequences of the tasks gets schedules to run. i think Documentation/sched-stats.txt might be a good place to start, another possibility is ofcourse to use system-tap. anupam -- To

Re: Purge a linked list

2007-09-26 Thread Anupam Kapoor
list_for_each(p, frs) { shouldn't you be using list_for_each_safe or something ? anupam -- In the beginning was the lambda, and the lambda was with Emacs, and Emacs was the lambda. -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to [EMAIL PROTECTED]