mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andreas Bombe <andreas@bombe.modem.informatik.tu-muenchen.de>
To: Nitin Dhingra <nitin.dhingra@dcmtech.co.in>
Cc: imran.badr@cavium.com, linux-kernel@vger.kernel.org
Subject: Re: Exporting kernel memory to application
Date: Thu, 9 Aug 2001 16:39:49 +0200	[thread overview]
Message-ID: <20010809163949.B2854@bombe.modem.informatik.tu-muenchen.de> (raw)
In-Reply-To: <7FADCB99FC82D41199F9000629A85D1A01C650D2@dcmtechdom.dcmtech.co.in>

On Wed, Aug 08, 2001 at 03:48:50PM +0530, Nitin Dhingra wrote:
> You can do that by using kiobuf's ( only in kernel 2.4.x ).
> That way you could lock the user buffers in kernel but you 
> would have to allocate user buffer prior to using any kiobuf's functions 
> like map_user_kiobuf() 

When someone asks how to lock user buffers into kernel space they are
suggested to allocate the buffers in kernel and map them to user space
which is much cleaner, safer and everything.

That guy got it right on the first attempt.  Don't confuse him with
inferior solutions.

-- 
Andreas E. Bombe <andreas.bombe@munich.netsurf.de>    DSA key 0x04880A44

  reply	other threads:[~2001-08-09 14:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-08 10:18 Nitin Dhingra
2001-08-09 14:39 ` Andreas Bombe [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-08-07 22:12 Linux 2.4.7-ac8 Keith Owens
2001-08-07 22:24 ` Exporting kernel memory to application Imran Badr
2001-08-07 23:31   ` Alan Cox

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=20010809163949.B2854@bombe.modem.informatik.tu-muenchen.de \
    --to=andreas@bombe.modem.informatik.tu-muenchen.de \
    --cc=andreas.bombe@munich.netsurf.de \
    --cc=imran.badr@cavium.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nitin.dhingra@dcmtech.co.in \
    /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®