* linux-next: Signed-off-bys missing for commit in the mm-hotfixes tree
@ 2023-09-24 21:50 Stephen Rothwell
2023-09-24 23:42 ` Andrew Morton
0 siblings, 1 reply; 5+ messages in thread
From: Stephen Rothwell @ 2023-09-24 21:50 UTC (permalink / raw)
To: Andrew Morton; +Cc: Linux Kernel Mailing List, Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 250 bytes --]
Hi all,
Commit
48248e468270 ("mm: hugetlb: add huge page size param to set_huge_pte_at()")
is missing Signed-off-bys from its author and committer.
It looks like the commit message has been truncated.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: linux-next: Signed-off-bys missing for commit in the mm-hotfixes tree
2023-09-24 21:50 linux-next: Signed-off-bys missing for commit in the mm-hotfixes tree Stephen Rothwell
@ 2023-09-24 23:42 ` Andrew Morton
2023-09-25 8:58 ` Ryan Roberts
0 siblings, 1 reply; 5+ messages in thread
From: Andrew Morton @ 2023-09-24 23:42 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Linux Kernel Mailing List, Linux Next Mailing List, Ryan Roberts
On Mon, 25 Sep 2023 07:50:26 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> Hi all,
>
> Commit
>
> 48248e468270 ("mm: hugetlb: add huge page size param to set_huge_pte_at()")
>
> is missing Signed-off-bys from its author and committer.
>
> It looks like the commit message has been truncated.
Ah, thanks. The changelog has a stray ^---$:
: If CONFIG_DEBUG_VM is enabled, we do at least get a BUG(), but otherwise,
: it will dereference a bad pointer in page_folio():
:
: static inline struct folio *hugetlb_swap_entry_to_folio(swp_entry_t entry)
: {
: VM_BUG_ON(!is_migration_entry(entry) && !is_hwpoison_entry(entry));
:
: return page_folio(pfn_to_page(swp_offset_pfn(entry)));
: }
:
:
: Fix
<chomp>
: ---
:
: The simplest fix would have been to revert the dodgy cleanup commit
: 18f3962953e4 ("mm: hugetlb: kill set_huge_swap_pte_at()"), but since
: things have moved on, this would have required an audit of all the new
: set_huge_pte_at() call sites to see if they should be converted to
: set_huge_swap_pte_at(). As per the original intent of the change, it
: would also leave us open to future bugs when people invariably get it
: wrong and call the wrong helper.
That's actually from the [0/n] intro, which I pasted into the [1/n]
changelog.
It gets through my scripts OK
(https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-hugetlb-add-huge-page-size-param-to-set_huge_pte_at.patch),
but it looks like git-quiltimport did the deed.
Let me add a check for that...
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: linux-next: Signed-off-bys missing for commit in the mm-hotfixes tree
2023-09-24 23:42 ` Andrew Morton
@ 2023-09-25 8:58 ` Ryan Roberts
0 siblings, 0 replies; 5+ messages in thread
From: Ryan Roberts @ 2023-09-25 8:58 UTC (permalink / raw)
To: Andrew Morton, Stephen Rothwell
Cc: Linux Kernel Mailing List, Linux Next Mailing List
On 25/09/2023 00:42, Andrew Morton wrote:
> On Mon, 25 Sep 2023 07:50:26 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
>> Hi all,
>>
>> Commit
>>
>> 48248e468270 ("mm: hugetlb: add huge page size param to set_huge_pte_at()")
>>
>> is missing Signed-off-bys from its author and committer.
>>
>> It looks like the commit message has been truncated.
>
> Ah, thanks. The changelog has a stray ^---$:
>
> : If CONFIG_DEBUG_VM is enabled, we do at least get a BUG(), but otherwise,
> : it will dereference a bad pointer in page_folio():
> :
> : static inline struct folio *hugetlb_swap_entry_to_folio(swp_entry_t entry)
> : {
> : VM_BUG_ON(!is_migration_entry(entry) && !is_hwpoison_entry(entry));
> :
> : return page_folio(pfn_to_page(swp_offset_pfn(entry)));
> : }
> :
> :
> : Fix
>
> <chomp>
>
> : ---
> :
> : The simplest fix would have been to revert the dodgy cleanup commit
> : 18f3962953e4 ("mm: hugetlb: kill set_huge_swap_pte_at()"), but since
> : things have moved on, this would have required an audit of all the new
> : set_huge_pte_at() call sites to see if they should be converted to
> : set_huge_swap_pte_at(). As per the original intent of the change, it
> : would also leave us open to future bugs when people invariably get it
> : wrong and call the wrong helper.
>
> That's actually from the [0/n] intro, which I pasted into the [1/n]
> changelog.
>
> It gets through my scripts OK
> (https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-hugetlb-add-huge-page-size-param-to-set_huge_pte_at.patch),
> but it looks like git-quiltimport did the deed.
>
> Let me add a check for that...
I don't think there is any action for me here? (except possibly, never use 3
dashes in a row on any future email correspondence). Shout if you need anything.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: linux-next: Signed-off-bys missing for commit in the mm-hotfixes tree
2022-12-04 20:49 Stephen Rothwell
@ 2022-12-04 22:02 ` Andrew Morton
0 siblings, 0 replies; 5+ messages in thread
From: Andrew Morton @ 2022-12-04 22:02 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Michal Hocko, Linux Kernel Mailing List, Linux Next Mailing List
On Mon, 5 Dec 2022 07:49:38 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> Hi all,
>
> Commit
>
> 3649d3bcf64d ("kselftests: cgroup: update kmem test precision tolerance")
>
> is missing Signed-off-bys from its author and committer.
>
I didn't trim at the ^---$ correctly. I guess we should check for more
than one "^---$.
^ permalink raw reply [flat|nested] 5+ messages in thread
* linux-next: Signed-off-bys missing for commit in the mm-hotfixes tree
@ 2022-12-04 20:49 Stephen Rothwell
2022-12-04 22:02 ` Andrew Morton
0 siblings, 1 reply; 5+ messages in thread
From: Stephen Rothwell @ 2022-12-04 20:49 UTC (permalink / raw)
To: Andrew Morton
Cc: Michal Hocko, Linux Kernel Mailing List, Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 192 bytes --]
Hi all,
Commit
3649d3bcf64d ("kselftests: cgroup: update kmem test precision tolerance")
is missing Signed-off-bys from its author and committer.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-09-25 8:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-24 21:50 linux-next: Signed-off-bys missing for commit in the mm-hotfixes tree Stephen Rothwell
2023-09-24 23:42 ` Andrew Morton
2023-09-25 8:58 ` Ryan Roberts
-- strict thread matches above, loose matches on Subject: below --
2022-12-04 20:49 Stephen Rothwell
2022-12-04 22:02 ` Andrew Morton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).