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


Groups > linux.kernel > #1350568

Re: + x86-add-support-for-pud-sized-transparent-hugepages-checkpatch-fixes.patch added to -mm tree

From Matthew Wilcox <willy@linux.intel.com>
Newsgroups linux.kernel
Subject Re: + x86-add-support-for-pud-sized-transparent-hugepages-checkpatch-fixes.patch added to -mm tree
Date 2016-03-04 21:40 +0100
Message-ID <r94FX-3Op-7@gated-at.bofh.it> (permalink)
References <qY0mm-7ok-21@gated-at.bofh.it> <qY0mm-7ok-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Feb 03, 2016 at 08:48:35AM +0100, Ingo Molnar wrote:
> > @@ -111,8 +111,10 @@ static inline pud_t native_pudp_get_and_
> >  #ifdef CONFIG_SMP
> >  	return native_make_pud(xchg(&pudp->pud, 0));
> >  #else
> > -	/* native_local_pudp_get_and_clear,
> > -	   but duplicated because of cyclic dependency */
> > +	/*
> > +	 * native_local_pudp_get_and_clear, but duplicated because of cyclic
> > +	 * dependency
> > +	 */
> >  	pud_t ret = *pudp;
> >  	native_pud_clear(pudp);
> >  	return ret;
> 
> When referring to functions in comments (or changelogs) please use () to make it 
> clear on sight what is being referred to.
> 
> Also, please try to construct proper English sentences with verbs and such!
> 
> I.e. something like this would work for me:
> 
> > +	/*
> > +	 * This is a duplicate of native_local_pudp_get_and_clear(),
> > +	 * because we cannot use the original due to a cyclic header
> > +	 * file dependency:
> > +	 */
> 
> (Assuming I managed to decode the shorthand form properly.)

I have no idea what it means.  This is copy-and-change of the pmd version,
which was originally commit db3eb96f4e6281b84dd33c8980dacc27f2efe177 by
Andrea.

It seems unfair to ask me to do better than what is there right now.

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


Thread

Re: +  x86-add-support-for-pud-sized-transparent-hugepages-checkpatch-fixes.patch  added to -mm tree Matthew Wilcox <willy@linux.intel.com> - 2016-03-04 21:40 +0100
  Re: +  x86-add-support-for-pud-sized-transparent-hugepages-checkpatch-fixes.patch  added to -mm tree Ingo Molnar <mingo@kernel.org> - 2016-03-09 13:10 +0100
    Re: +  x86-add-support-for-pud-sized-transparent-hugepages-checkpatch-fixes.patch  added to -mm tree Matthew Wilcox <willy@linux.intel.com> - 2016-03-09 18:00 +0100
      Re: +  x86-add-support-for-pud-sized-transparent-hugepages-checkpatch-fixes.patch  added to -mm tree Ingo Molnar <mingo@kernel.org> - 2016-03-10 10:40 +0100
        Re: +  x86-add-support-for-pud-sized-transparent-hugepages-checkpatch-fixes.patch  added to -mm tree Matthew Wilcox <willy@linux.intel.com> - 2016-03-10 15:40 +0100
  Re: +  x86-add-support-for-pud-sized-transparent-hugepages-checkpatch-fixes.patch  added to -mm tree Andrea Arcangeli <aarcange@redhat.com> - 2016-03-09 18:50 +0100
    Re: +  x86-add-support-for-pud-sized-transparent-hugepages-checkpatch-fixes.patch  added to -mm tree Matthew Wilcox <willy@linux.intel.com> - 2016-03-09 19:50 +0100
      Re: +  x86-add-support-for-pud-sized-transparent-hugepages-checkpatch-fixes.patch  added to -mm tree Matthew Wilcox <willy@linux.intel.com> - 2016-03-09 21:10 +0100
        Re: +  x86-add-support-for-pud-sized-transparent-hugepages-checkpatch-fixes.patch  added to -mm tree Andrea Arcangeli <aarcange@redhat.com> - 2016-03-10 00:10 +0100

csiph-web