bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple contribution please?


From: Richard Braun
Subject: Re: Simple contribution please?
Date: Fri, 12 Aug 2016 21:16:02 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

On Fri, Aug 12, 2016 at 07:57:48PM +0200, Samuel Thibault wrote:
> It becomes more and more clear that we shouldn't steal functions from
> glibc into gnumach, it poses cross-building issues from Linux.
> 
> Could somebody contribute, or steal from a BSD the following functions,
> to be included in gnumach/kern/strings.c?
> 
> - memcmp
> - memcpy
> - memmove
> - strchr
> - strsep
> - strstr

Note that it's not that "simple" since we'd like implementations that
aren't naive, i.e. assembly with rep instructions. In particular, it
makes a huge difference in virtualized guests compared to C-based ones
because of vmenter/vmexit.

-- 
Richard Braun



reply via email to

[Prev in Thread] Current Thread [Next in Thread]