--- suman kar <[EMAIL PROTECTED]> wrote: > >From: Subhobroto Sinha <[EMAIL PROTECTED]> > > >I wanna know indepth about the COW implementation > of > >fork() in Linux 2.4 and higher - all including page > >table stuff.. > > You need a book ;) not a LUG for that.
I referred Maurice Bach, Galvin Silberschatz, and Tenenbaum, but I am still in the dark. That's why I turned to you guys. > This statement invokes UB. See below. What's a UB ? > And what exactly do you mean by virtual/physical > address? Simple mapping of virtual address (as that referred to by the ELF executable) and the *real* physical location to where it's really mapped in RAM etc. Simple page table stuff.. > AFAIK, C does not have any idea of virtual/physical > address. Right. I was asking if the address of the variable printed is a virtual address or not. > Did you try to compile this? Here are the results of > my efforts: Hmm.. 'pedantic' and 'all' warning switch never likes me, so.. But did you try *running* the program and *see* the output ? How do you explain the address of 'i' being the *same* for BOTH the processes ? > gcc -std=c99 -W -Wall -pedantic -ansi Test.c > > *) man scanf / `p' conversion specifier, and the > need to cast it to (void *) Thanks. I should start focusing more on semantics rather than the concepts itself when I ask you a question ;) > *) header inclusion What header ? 'types.h' ? I am sooo clueless :-( > > Regards, > Suman. Nice talking to you Suman; please do answer my questions.. Cheers Subhobroto Sinhahttp://www.geocities.com/subhobrotosinha __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com -- To unsubscribe, send mail to [EMAIL PROTECTED] with the body "unsubscribe ilug-cal" and an empty subject line. FAQ: http://www.ilug-cal.org/node.php?id=3
