From: Cyrill Gorcunov <gorcunov@gmail.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Cyrill Gorcunov <gorcunov@gmail.com>,
Richard Henderson <rth@twiddle.net>,
linux-kernel-list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] ALPHA: MARVEL - check for allocated memory
Date: Sat, 19 May 2007 12:18:51 +0400 [thread overview]
Message-ID: <20070519081851.GA8288@cvg> (raw)
In-Reply-To: <20070517103113.107f4363.akpm@linux-foundation.org>
[Andrew Morton - Thu, May 17, 2007 at 10:31:13AM -0700]
| On Thu, 17 May 2007 18:37:12 +0400 Cyrill Gorcunov <gorcunov@gmail.com> wrote:
|
| > [Andrew Morton - Wed, May 16, 2007 at 11:44:55AM -0700]
| > | On Wed, 16 May 2007 22:12:14 +0400
| > | Cyrill Gorcunov <gorcunov@gmail.com> wrote:
| > |
| > | > This patch adds checking for allocated memory
| > | > which is used to hold AGP info. Also some whitespace
| > | > cleanup.
| > |
| > | The inclusion of all the whitespace fixies makes it rather hard to
| > | see what the patch actually does.
| > |
| > | I'm not sure that I can be bothered with this, really. afaict the
| > | checks you're adding are for boot-time allocations which we tend
| > | to assume won't fail, and they're kmalloc(small-amount, GFP_KERNEL)
| > | which is basically infallible, and it only affects, err, alpha.
| > |
| >
| > So you think we could leave all as is? I mean sould I just drop the patch?
|
| mutter. I spose we should fix those sites which can be called at times other than
| system boot. Often one can use the lack of __init annotation to work out if a site
| is being called after boot.
|
Hi Andrew,
you know as I see marvel and titan (they are touched by my patches) only uses
kmalloc at boot time (as you mentoined) and there are no sites with unchecked
kmalloc calls after booting. So just forget about patches I sent ;)
Cyrill
next prev parent reply other threads:[~2007-05-19 8:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-16 18:12 [PATCH] ALPHA: MARVEL - check for allocated memory Cyrill Gorcunov
2007-05-16 18:44 ` Andrew Morton
2007-05-17 14:37 ` Cyrill Gorcunov
2007-05-17 17:31 ` Andrew Morton
2007-05-19 8:18 ` Cyrill Gorcunov [this message]
2007-05-17 14:38 ` Cyrill Gorcunov
-- strict thread matches above, loose matches on Subject: below --
2007-03-19 16:16 Cyrill Gorcunov
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=20070519081851.GA8288@cvg \
--to=gorcunov@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rth@twiddle.net \
/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;
as well as URLs for NNTP newsgroup(s).