mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tommy Reynolds <reynolds@redhat.com>
To: "chiranjeevi vaka" <cvaka_kernel@yahoo.com>
Cc: washer@us.ibm.com, linux-kernel@vger.kernel.org
Subject: Re: using kmalloc
Date: Tue, 19 Mar 2002 13:38:06 -0600	[thread overview]
Message-ID: <20020319133806.13a40872.reynolds@redhat.com> (raw)
In-Reply-To: <20020319192644.9097.qmail@web21304.mail.yahoo.com>

[-- Attachment #1: Type: text/plain, Size: 511 bytes --]

Uttered "chiranjeevi vaka" <cvaka_kernel@yahoo.com>, spoke thus:

>  I am trying to get something around 600 to 1000 bytes
>  using kmalloc. This one is for some changes in TCP/IP
>  stack. I am trying to implement a new kernel data
>  structure in tcp layer. So can you suggest me what
>  functionality to use to come out of that hanging.

Be sure to use "kmalloc( 1000, GFP_ATOMIC )" if you don't want to block waiting
for the memory.  Check for a NULL result, because you might not be able to get
the memory.

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2002-03-19 19:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <OFD9F443C5.CB1A619A-ON88256B81.005F0AD1@boulder.ibm.com>
2002-03-19 19:26 ` chiranjeevi vaka
2002-03-19 19:38   ` Tommy Reynolds [this message]
     [not found] <fa.l19uvvv.1hjmo8t@ifi.uio.no>
2002-03-20  5:53 ` Dan Maas
2002-03-20 10:27   ` Alan Cox
2002-03-20 11:48   ` Jan Hudec
2002-03-19 16:18 chiranjeevi vaka
2002-03-19 16:41 ` Arnaldo Carvalho de Melo
2002-03-19 17:30   ` yodaiken

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=20020319133806.13a40872.reynolds@redhat.com \
    --to=reynolds@redhat.com \
    --cc=cvaka_kernel@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=washer@us.ibm.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®