[lkml]   [2000]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: kmalloc() allocation.
    Followup to:  <>
    By author: "Richard B. Johnson" <>
    In newsgroup:
    > > 64K probably less. kmalloc allocates physically linear spaces. vmalloc will
    > > happily grab you 2Mb of space but it will not be physically linear
    > >
    > Okay. Thanks.

    FWIW, vmalloc()-allocated pages are definitely pinned-down and
    available to interrupts. However, you should keep in mind that the
    vmalloc() call *itself* is quite expensive on SMP machines (have to
    interrupt all CPUs and flush their TLBs!!) so if you're using
    vmalloc(), be careful with the number of calls you make. Of course,
    this is usually not a problem.

    <> at work, <> in private!
    "Unix gives you enough rope to shoot yourself in the foot."
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 12:45    [W:4.484 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site