Re: [PATCH v2 1/2] dcache: allow word-at-a-time name hashing withbig-endian CPUs

From: Benjamin Herrenschmidt
Date: Thu Dec 12 2013 - 18:48:00 EST


On Thu, 2013-12-12 at 10:38 -0800, Linus Torvalds wrote:
> Ok, looks good. So I'm taking these even though it's outside the merge
> window - they're small, and until you enable DCACHE_WORD_ACCESS on
> big-endian they don't actually do anything.
>
> Ben - you might want to check if this makes DCACHE_WORD_ACCESS useful
> on PowerPC too. Right now that requires an efficient fls()
> implementation, but I think you have "cntlz" like ARM does.

Thanks. I'll see if I can get somebody to measure it. It should be good
though.

Cheers,
Ben.


--
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/