Re: memset.S for amd64

2013-09-19 Thread mxb
This file is already in base. /usr/src/sys/lib/libkern/arch/amd64/memset.S On 18 sep 2013, at 20:28, Edd Barrett vex...@gmail.com wrote: On Wed, Sep 18, 2013 at 07:08:31PM +0100, Edd Barrett wrote: In short, each experiment warms up by setting and checking a load of buffers before setting

Re: memset.S for amd64

2013-09-19 Thread Ville Valkonen
(Pardon top-posting) I can spot few differences: http://www.openbsd.org/cgi-bin/cvsweb/src/sys/lib/libkern/arch/amd64/memset.S?rev=1.3;content-type=text%2Fplain and http://svnweb.freebsd.org/base/release/8.2.0/lib/libc/amd64/string/memset.S?revision=218742view=markup though I am not familiar

Re: memset.S for amd64

2013-09-19 Thread Brad Smith
On 19/09/13 7:47 AM, mxb wrote: This file is already in base. /usr/src/sys/lib/libkern/arch/amd64/memset.S That is in the kernel not libc. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

Re: memset.S for amd64

2013-09-19 Thread Edd Barrett
On Thu, Sep 19, 2013 at 01:23:19PM -0400, Brad Smith wrote: On 19/09/13 7:47 AM, mxb wrote: This file is already in base. /usr/src/sys/lib/libkern/arch/amd64/memset.S That is in the kernel not libc. Indeed. I recall seeing a macro called COPY_TO_KERNEL or something. I probably need to use

Re: memset.S for amd64

2013-09-19 Thread mxb
On 19 sep 2013, at 19:23, Brad Smith b...@comstyle.com wrote: That is in the kernel not libc. Yes, I know. Can't it be re-used instead of maintaining same file in two places? //mxb

Re: memset.S for amd64

2013-09-18 Thread Edd Barrett
On Wed, Sep 18, 2013 at 07:08:31PM +0100, Edd Barrett wrote: In short, each experiment warms up by setting and checking a load of buffers before setting as many buffers as possible given a one minute timeframe. The experiments were run with varying buffer sizes under both memset.S and

memset.S for amd64

2013-09-18 Thread Edd Barrett
with this diff for the last week or so with no issues. I have been running some heavy compilation tasks during this time (building lang/pypy). [1] http://svnweb.freebsd.org/base/head/lib/libc/amd64/string/memset.S?revision=217106view=markup PS. If people think this kind of work is worthwhile

Re: memset.S for amd64

2013-09-18 Thread Nick Permyakov
is needed. Can someone confirm this? I have run with this diff for the last week or so with no issues. I have been running some heavy compilation tasks during this time (building lang/pypy). [1] http://svnweb.freebsd.org/base/head/lib/libc/amd64/string/memset.S?revision=217106view=markup PS. If people