lkml.org 
[lkml]   [2002]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Futexes IV (Fast Lightweight Userspace Semaphores)
    On Fri, 8 Mar 2002, Hubertus Franke wrote:

    > > So I would suggest making the size (and thus alignment check) of locks
    > > at least 8 bytes (and preferably 16). That makes it slightly harder to
    > > put locks on the stack, but gcc does support stack alignment, even if
    > > the code sucks right now.

    > Keeping it small, allows for the common case of mutex integration into
    > data objects, though its not a big deal.

    I guess we need to know what the requirements are of the fabled
    "architectures which need special handling of PROT_SEM" before
    we can tell whether this is a good idea or not.

    Matthew.

    -
    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: 2005-03-22 13:24    [W:4.535 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site