lkml.org 
[lkml]   [2009]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Physical Memory Management [0/1]
    > On Fri, 2009-05-15 at 12:47 +0200, Michał Nazarewicz wrote:
    >> I cannot create a huge page SysV shared memory segment
    >> with pages of specified size, can I?

    On Fri, 15 May 2009 13:03:34 +0200, Peter Zijlstra wrote:
    > Well, hugetlbfs is a fs, so you can simply create a file on there and
    > map that shared -- much saner interface than sysvshm if you ask me.

    It's not a question of being sane or not, it's a question of whether
    X server supports it and it doesn't. X can read data from Sys V shm
    to avoid needles copying (or sending via unix socket or whatever)
    pixmaps (or whatever) and so PMM lets it read from continuous blocks
    without knowing or carying about it.

    --
    Best regards, _ _
    .o. | Liege of Serenly Enlightened Majesty of o' \,=./ `o
    ..o | Computer Science, Michał "mina86" Nazarewicz (o o)
    ooo +-<m.nazarewicz@samsung.com>-<mina86@jabber.org>-ooO--(_)--Ooo--

    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2009-05-15 13:15    [W:3.032 / U:0.276 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site