Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1637230

Re: [GIT PULL] liblockdep for 4.12

From Ingo Molnar <mingo@kernel.org>
Newsgroups linux.kernel
Subject Re: [GIT PULL] liblockdep for 4.12
Date 2017-05-08 08:20 +0200
Message-ID <tEKbv-85-9@gated-at.bofh.it> (permalink)
References <tDBDj-3XY-3@gated-at.bofh.it> <tDEKS-6ir-7@gated-at.bofh.it> <tEDto-46D-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


* alexander.levin@verizon.com <alexander.levin@verizon.com> wrote:

> On Fri, May 05, 2017 at 08:11:38AM +0200, Ingo Molnar wrote:
> > * alexander.levin@verizon.com <alexander.levin@verizon.com> wrote:
> > Could you please include all the patches as part of the pull request, so that 
> > individual patches can be discussed?
> 
> Sure, I'll resend.
>  
> > In particular I'm wondering about:
> > 
> > >  tools/include/linux/jhash.h                    | 125 +++++++++++++++++++++++
> > 
> > include/linux/jhash.h is 175 lines long - why not make an exact copy and keep it 
> > synchronized the way perf does it?
> 
> Including jhash() vs only jhash2() required pulling additional headers in.
> Since we don't need jhash() I preferred to drop it.
> 
> Let me know if you'd prefer to do it the other way and include everything.

How many headers would that be? We already have tools/include/../bitops.h, so we'd 
only need include/linux/unaligned/packed_struct.h, which looks straightforward and 
smallish.

( That header includes kernel.h, but we have that in tools as well, so in theory 
  it could work. )

The principle would be to 'COW-share' as much code as possible, at least for 
obvious arithmetics helpers - which hashes do appear to be.

Thanks,

	Ingo

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[GIT PULL] liblockdep for 4.12 alexander.levin@verizon.com - 2017-05-05 05:00 +0200
  Re: [GIT PULL] liblockdep for 4.12 Ingo Molnar <mingo@kernel.org> - 2017-05-05 08:20 +0200
    Re: [GIT PULL] liblockdep for 4.12 alexander.levin@verizon.com - 2017-05-08 01:10 +0200
      Re: [GIT PULL] liblockdep for 4.12 Ingo Molnar <mingo@kernel.org> - 2017-05-08 08:20 +0200

csiph-web