mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* do_exit
@ 2009-07-31  1:19 Anirban Sinha
  0 siblings, 0 replies; only message in thread
From: Anirban Sinha @ 2009-07-31  1:19 UTC (permalink / raw)
  To: linux-kernel

Hi all:

I have a small question regarding the function do_exit(). At the very
beginning of the function, it takes a reference (tsk) to "current" and
then it passes this reference to other functions. I am wondering where
there is any reason for not passing "current" directly in this case.
Does current gets clobbered/not trustable in this case? If we could pass
current directly, lot of the other functions could be cleaned up and
made to pass one less parameter.

Just curious.

Thanks

Ani


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-07-31  1:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-31  1:19 do_exit Anirban Sinha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®