mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: Adam Heath <doogie@debian.org>
Cc: Robert Love <rml@novell.com>,
	Carl-Daniel Hailfinger <c-d.hailfinger.kernel.2004@gmx.net>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [RFC] [PATCH] kmem_alloc (generic wrapper for kmalloc and vmalloc)
Date: Wed, 10 Nov 2004 19:04:22 +0100	[thread overview]
Message-ID: <20041110180422.GS5602@suse.de> (raw)
In-Reply-To: <Pine.LNX.4.58.0411101154070.1276@gradall.private.brainfood.com>

On Wed, Nov 10 2004, Adam Heath wrote:
> On Wed, 10 Nov 2004, Jens Axboe wrote:
> 
> > Plus, you cannot use vfree() from interrupt context. This patch is a bad
> > idea.
> 
> why not have a work queue, that frees things later, after a delay?

Kludge upon kludge does not make the interface any better. The best fix
is to split the allocations, like suggested a slab cache for the loop
would do nicely.

-- 
Jens Axboe


      reply	other threads:[~2004-11-10 18:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-10  5:19 Carl-Daniel Hailfinger
2004-11-10  6:03 ` Robert Love
2004-11-10  6:31   ` Carl-Daniel Hailfinger
2004-11-10  6:57     ` Robert Love
2004-11-10  7:10     ` Nick Piggin
2004-11-10 13:36     ` Geert Uytterhoeven
2004-11-10  7:54   ` Jens Axboe
2004-11-10 17:03     ` Carl-Daniel Hailfinger
2004-11-10 17:17       ` Roland Dreier
2004-11-10 17:54     ` Adam Heath
2004-11-10 18:04       ` Jens Axboe [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=20041110180422.GS5602@suse.de \
    --to=axboe@suse.de \
    --cc=c-d.hailfinger.kernel.2004@gmx.net \
    --cc=doogie@debian.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rml@novell.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

Powered by JetHome