Re: [PATCH RFC 00/10] tools: Revamp the unaligned endian access functions

From: Sam Ravnborg
Date: Fri Jun 13 2014 - 16:04:39 EST


> >
> > A much simpler approach without any fallback to arch specific
> > version etc. is everything we need.
>
> It doesn't matter so much for things that are just done for the kernel
> compile, no, but there are some tools that are built to be used as
> standalone things, and it could matter there.
Which tools require 452 lines of codes for a simple set of
le/be wrappers?
In other words - which tool will benefit from the addition speedup
this amount of code gives?

If I as a naive user look in unaligned.h I do not even see
a prototype of the available methods. I am thrown to a directory
with no less than 12 files.

The le_direct.h´+ be_direct.h files seems unused.

So again - why is it not enaough to provide only le_byteshift.h
+ the be counterpart?

Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/