lkml.org 
[lkml]   [2009]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] Physical Memory Management [0/1]
    From
    Date
    Michaâ Nazarewicz <m.nazarewicz@samsung.com> writes:
    >
    > The idea here is that there are n hardware accelerators, each
    > can operate on 1MiB blocks (to simplify assume that's the case).

    You could just define a hugepage size for that and use hugetlbfs
    with a few changes to map in pages with multiple PTEs.
    It supports boot time reservation and is a well established
    interface.

    On x86 that would give 2MB units, on other architectures whatever
    you prefer.

    -Andi

    --
    ak@linux.intel.com -- Speaking for myself only.
    --
    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-14 21:35    [W:0.039 / U:0.088 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site