From: David Brownell <david-b@pacbell.net>
To: Mark Underwood <basicmark@yahoo.com>
Cc: akpm@osdl.org, linux-kernel@vger.kernel.org,
Vitaly Wool <vwool@ru.mvista.com>,
stephen@streetfiresound.com
Subject: Re: [PATCH] [SPI] build as module and fix priority inversion problem
Date: Mon, 5 Dec 2005 14:24:50 -0800 [thread overview]
Message-ID: <200512051424.50408.david-b@pacbell.net> (raw)
In-Reply-To: <20051205202605.92440.qmail@web36912.mail.mud.yahoo.com>
On Monday 05 December 2005 12:26 pm, Mark Underwood wrote:
> Sorry, made a bit of a mess with the last e-mail :(. Trying again :)
>
> This patch fix's the possible priority inversion that vitaly pointed out
That part looks OK to me, though I don't have time to test it just.
It's the change to "use kmalloc if we must".
I'd like to see you split that part out so it can be merged into the
next MM kernel. (I don't know when that is, but I'd guess RSN.)
> and allows the driver to be built as a module.
That part won't work right. Remember, the spi_board_info setup
must be safe to call from arch_init() code; that support needs
to be statically linked. The full patch for this would split
those parts into a separate file, and expose some internal hooks
to the module. (Like maybe the struct boardinfo type, and the
board_list of instances, and the lock protecting that list.)
- Dave
prev parent reply other threads:[~2005-12-05 22:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-05 20:26 Mark Underwood
2005-12-05 22:24 ` David Brownell [this message]
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=200512051424.50408.david-b@pacbell.net \
--to=david-b@pacbell.net \
--cc=akpm@osdl.org \
--cc=basicmark@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=stephen@streetfiresound.com \
--cc=vwool@ru.mvista.com \
/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®