mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Anirban Sinha" <ASinha@zeugmasystems.com>
To: <linux-kernel@vger.kernel.org>
Subject: do_exit
Date: Thu, 30 Jul 2009 18:19:53 -0700	[thread overview]
Message-ID: <DDFD17CC94A9BD49A82147DDF7D545C501DCD047@exchange.ZeugmaSystems.local> (raw)

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


                 reply	other threads:[~2009-07-31  1:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DDFD17CC94A9BD49A82147DDF7D545C501DCD047@exchange.ZeugmaSystems.local \
    --to=asinha@zeugmasystems.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®