From: Trond Myklebust <Trond.Myklebust@netapp.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Matthew Wilcox <matthew@wil.cx>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Liam Howlett <howlett@gmail.com>,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: Pull request: TASK_KILLABLE
Date: Thu, 31 Jan 2008 21:03:53 -0500 [thread overview]
Message-ID: <1201831433.3087.14.camel@heimdal.trondhjem.org> (raw)
In-Reply-To: <alpine.LFD.1.00.0802011252450.3198@www.l.google.com>
[-- Attachment #1: Type: text/plain, Size: 570 bytes --]
On Fri, 2008-02-01 at 12:54 +1100, Linus Torvalds wrote:
> No need to make that one-liner function be a GPL-only export, it's not
> like any of the other regular sigpending functions are we export are
> GPL-only either (dequeue_signal() is, but that is because we *really*
> don't want people using that, and it's really about internal signal
> handling behavior).
No. It was more in the spirit of "let's not export a function that
others may implement trivially using established interfaces". However if
you don't care, then here's a replacement.
Cheers
Trond
[-- Attachment #2: Type: message/rfc822, Size: 800 bytes --]
From: Trond Myklebust <Trond.Myklebust@netapp.com>
Subject: Ensure that we export __fatal_signal_pending()
Date: Thu, 31 Jan 2008 20:40:29 -0500
Message-ID: <1201831343.3087.12.camel@heimdal.trondhjem.org>
It may be used by the modules nfs.ko and sunrpc.ko
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
---
kernel/signal.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/kernel/signal.c b/kernel/signal.c
index 8054dd4..4333b6d 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -998,6 +998,7 @@ int fastcall __fatal_signal_pending(struct task_struct *tsk)
{
return sigismember(&tsk->pending.signal, SIGKILL);
}
+EXPORT_SYMBOL(__fatal_signal_pending);
/*
* Must be called under rcu_read_lock() or with tasklist_lock read-held.
next prev parent reply other threads:[~2008-02-01 2:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-29 0:04 Matthew Wilcox
2008-01-29 11:41 ` Linus Torvalds
2008-01-31 23:45 ` Matthew Wilcox
2008-02-01 0:48 ` Linus Torvalds
2008-02-01 1:45 ` Trond Myklebust
2008-02-01 1:54 ` Linus Torvalds
2008-02-01 2:03 ` Trond Myklebust [this message]
2008-02-01 2:02 ` Andrew Morton
2008-02-06 2:19 ` Matthew Wilcox
2008-02-06 2:33 ` Andrew Morton
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=1201831433.3087.14.camel@heimdal.trondhjem.org \
--to=trond.myklebust@netapp.com \
--cc=akpm@linux-foundation.org \
--cc=howlett@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=matthew@wil.cx \
--cc=torvalds@linux-foundation.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®