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:29:09 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

On Fri, Aug 12, 2016 at 09:21:11PM +0200, Samuel Thibault wrote:
> Richard Braun, on Fri 12 Aug 2016 21:16:02 +0200, wrote:
> > 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.
> > 
> > When such functions are used on device mapped memory.
> 
> I guess perhaps even only memcpy is used on device mapped memory?

That's likely. I can take care of this when I have time.

-- 
Richard Braun



reply via email to

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