remove some of unneeded kallsyms includes
Subsystems (13)
cover remove some of unneeded kallsyms includes
Hello,
A small patch set that removes some kallsyms includes
here and there. Mostly those kallsyms includes are leftovers:printk() gained %pS/%pF modifiers support some time ago, so print_symbol() and friends became sort of unneeded [along with print_fn_descriptor_symbol() deprecation], thus some of the users were converted to pS/pF. This patch set just cleans up that convertion.
We still have a number of print_symbol() users [which
must be converted to ps/pf, print_symbol() uses a stack buffer KSYM_SYMBOL_LEN to do what printk(ps/pf) can do], but this is out of scope.
I compile tested the patch set; but, as always and
usual, would be great if 0day build robot double check it.
Sergey Senozhatsky (9):
sched/autogroup: remove unneeded kallsyms include
mm: remove unneeded kallsyms include
power: remove unneeded kallsyms include
pci: remove unneeded kallsyms include
pnp: remove unneeded kallsyms include
mm: remove unneeded kallsyms include
workqueue: remove unneeded kallsyms include
hrtimer: remove unneeded kallsyms include
genirq: remove unneeded kallsyms include
drivers/base/power/main.c | 1 - drivers/pci/quirks.c | 1 - drivers/pnp/quirks.c | 1 - kernel/irq/spurious.c | 1 - kernel/sched/autogroup.c | 1 - kernel/time/hrtimer.c | 1 - kernel/workqueue.c | 1 - mm/memory.c | 4 ---- mm/vmalloc.c | 1 - 9 files changed, 12 deletions(-)
Signature · 1 line
2.15.1
PATCH 1/9 sched/autogroup: remove unneeded kallsyms include
Autogroup does not seem to use any of kallsyms functions/defines.
--- kernel/sched/autogroup.c | 1 - 1 file changed, 1 deletion(-)
kernel/sched/autogroup.c +0 -1
@@ -3,7 +3,6 @@#include <linux/proc_fs.h> #include <linux/seq_file.h> -#include <linux/kallsyms.h> #include <linux/utsname.h> #include <linux/security.h> #include <linux/export.h>
Signature · 7 lines
2.15.1 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
PATCH 1/1 sched/autogroup: move sched.h include
Move local "sched.h" include to the bottom. sched.h defines several macros that are getting redefined in ARCH-specific code, for instance, finish_arch_post_lock_switch() and prepare_arch_switch(), so we need ARCH-specific definitions to come in first.
--- kernel/sched/autogroup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/sched/autogroup.c +2 -2
@@ -1,12 +1,12 @@// SPDX-License-Identifier: GPL-2.0 -#include "sched.h" -#include <linux/proc_fs.h> #include <linux/seq_file.h> #include <linux/utsname.h> #include <linux/security.h> #include <linux/export.h> +#include "sched.h" +unsigned int __read_mostly sysctl_sched_autogroup_enabled =1 ;static struct autogroup autogroup_default;static atomic_t autogroup_seq_nr;
Signature · 7 lines
2.15.1 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Re: [PATCH] sched/autogroup: move sched.h include
Quoted 5 lines · Sergey Senozhatsky
Move local "
sched.h" include to the bottom.sched.hdefines several macros that are getting redefined in ARCH-specific code, for instance,finish_arch_post_lock_switch()andprepare_arch_switch(), so we need ARCH-specific definitions to come in first.
This patch is needed to fix compilation error [1] caused by a patchset that deprecates %pf/%pF printk modifiers[2].
IMHO, we should make sure that this fix goes into Linus' tree before the printk-related patchset. What is the best practice, please?
I see two reasonable possibilities. Either sched people could push this for-4.15-rcX. Or I could put it into printk.git for-4.16 in the right order.
What do you think?
Referece:
[0] http://lkml.kernel.org/r/201712080259.tvO64XfA%[email protected]
[1] https://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk.git/commit/?h=for-next&id=98fff2c57b7e88d643cb42ffd910fe9905b33176
Best Regards,
Petr
Re: [PATCH] sched/autogroup: move sched.h include
Hi,
Quoted 7 lines · Petr Mladek
Quoted 5 lines · Sergey Senozhatsky
Move local "
sched.h" include to the bottom.sched.hdefines several macros that are getting redefined in ARCH-specific code, for instance,finish_arch_post_lock_switch()andprepare_arch_switch(), so we need ARCH-specific definitions to come in first.
Quoted 6 lines
This patch is needed to fix compilation error [1] caused by a patchset that deprecates %pf/%pF printk modifiers[2].
IMHO, we should make sure that this fix goes into Linus' tree before the printk-related patchset. What is the best practice, please?
as long as sched pull request goes before printk pull request we are fine. but I see your point.
Quoted 3 lines
I see two reasonable possibilities. Either sched people could push this for-4.15-rcX. Or I could put it into printk.git for-4.16 in the right order.
agreed.
Quoted 1 line
What do you think?
either way is fine with me. we can have it in print.git (no objections from my side) or in sched tree and just make sure that sched pull request has "bigger priority", or it can go to Linus's tree as a potential fix (I'd prefer the last option, I think).
-ss
Re: [PATCH] sched/autogroup: move sched.h include
In reply to Sergey SenozhatskyQuoted 8 lines · Sergey Senozhatsky
Move local "
sched.h" include to the bottom.sched.hdefines several macros that are getting redefined in ARCH-specific code, for instance,finish_arch_post_lock_switch()andprepare_arch_switch(), so we need ARCH-specific definitions to come in first.Suggested-by Martin Schwidefsky <[email protected]>Signed-off-by Sergey Senozhatsky <[email protected]>
Quoted 26 lines
--- kernel/sched/autogroup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)kernel/sched/autogroup.c +2
-2@@ -1,12 +1,12 @@// SPDX-License-Identifier: GPL-2.0 -#include "sched.h" -#include <linux/proc_fs.h> #include <linux/seq_file.h> #include <linux/utsname.h> #include <linux/security.h> #include <linux/export.h> +#include "sched.h" +unsigned int __read_mostly sysctl_sched_autogroup_enabled =1 ;static struct autogroup autogroup_default;static atomic_t autogroup_seq_nr;Signature · 1 line
2.15.1
Re: [PATCH 1/9] sched/autogroup: remove unneeded kallsyms include
In reply to Sergey SenozhatskyQuoted 4 lines · Sergey Senozhatsky
Autogroup does not seem to use any of kallsyms functions/defines.
Signed-off-by Sergey Senozhatsky <[email protected]>Cc Peter Zijlstra <[email protected]>
Feel free to take this through whatever tree you need this in.
Quoted 19 lines
--- kernel/sched/autogroup.c | 1 - 1 file changed, 1 deletion(-)kernel/sched/autogroup.c +0
-1@@ -3,7 +3,6 @@#include <linux/proc_fs.h> #include <linux/seq_file.h> -#include <linux/kallsyms.h> #include <linux/utsname.h> #include <linux/security.h> #include <linux/export.h> Signature · 1 line
2.15.1
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Re: [PATCH 1/9] sched/autogroup: remove unneeded kallsyms include
Quoted 9 lines · Peter Zijlstra
Quoted 4 lines · Sergey Senozhatsky
Autogroup does not seem to use any of kallsyms functions/defines.
Signed-off-by Sergey Senozhatsky <[email protected]>Cc Peter Zijlstra <[email protected]>Feel free to take this through whatever tree you need this in.
Thanks!
Petr, let's pick up sched/autogroup patches then. Thank you.
-ss
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Re: [PATCH 1/9] sched/autogroup: remove unneeded kallsyms include
Quoted 10 lines · Sergey Senozhatsky
Quoted 9 lines · Peter Zijlstra
Quoted 4 lines · Sergey Senozhatsky
Autogroup does not seem to use any of kallsyms functions/defines.
Signed-off-by Sergey Senozhatsky <[email protected]>Cc Peter Zijlstra <[email protected]>Feel free to take this through whatever tree you need this in.
Thanks!
Quoted 1 line
Petr, let's pick up sched/autogroup patches then. Thank you.
Yup, I have pushed both patches into printk.git for-4.16:
https://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk.git/commit/?h=for-4.16&id=79ee842891595293be37c5aed0e75b4630166c5a
https://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk.git/commit/?h=for-4.16&id=25493e5fba2f7b8cdade29d0fc8945114ee7732b
Best Regards,
Petr
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
PATCH 2/9 mm: remove unneeded kallsyms include
In reply to Sergey SenozhatskyThe file was converted from print_symbol() to %pSR a while ago (071361d3473ebb814 "mm: Convert print_symbol to %pSR"). kallsyms does not seem to be needed anymore.
--- mm/memory.c | 4 ---- 1 file changed, 4 deletions(-)
mm/memory.c +0 -4
@@ -59,7 +59,6 @@#include <linux/writeback.h> #include <linux/memcontrol.h> #include <linux/mmu_notifier.h> -#include <linux/kallsyms.h> #include <linux/swapops.h> #include <linux/elf.h> #include <linux/gfp.h>
@@ -760,9 +759,6 @@ static void print_bad_pte(struct vm_area_struct *vma, unsigned long addr,dump_page (page,"bad pte" );pr_alert ("addr:%p vm_flags:%08lx anon_vma:%p mapping:%p index:%lx\n" , (void *)addr, vma->vm_flags, vma->anon_vma, mapping, index); -/* -* Choose text because data symbols depend on CONFIG_KALLSYMS_ALL=y -*/ pr_alert("file:%pD fault:%pf mmap:%pf readpage:%pf\n", vma->vm_file, vma->vm_ops ? vma->vm_ops->fault : NULL,
Signature · 7 lines
2.15.1 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
PATCH 3/9 power: remove unneeded kallsyms include
In reply to Sergey SenozhatskyThe file was converted from print_fn_descriptor_symbol() to %pF some time ago (c80cfb0406c01bb "vsprintf: use new vsprintf symbolic function pointer format"). kallsyms does not seem to be needed anymore.
--- drivers/base/power/main.c | 1 - 1 file changed, 1 deletion(-)
drivers/base/power/main.c +0 -1
@@ -18,7 +18,6 @@*/ #include <linux/device.h> -#include <linux/kallsyms.h> #include <linux/export.h> #include <linux/mutex.h> #include <linux/pm.h>
Signature · 7 lines
2.15.1 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Rafael J. Wysocki
maintainerRe: [PATCH 3/9] power: remove unneeded kallsyms include
Quoted 17 lines · Sergey Senozhatsky
The file was converted from
print_fn_descriptor_symbol()to %pF some time ago (c80cfb0406c01bb"vsprintf: use new vsprintf symbolic function pointer format"). kallsyms does not seem to be needed anymore.Signed-off-by Sergey Senozhatsky <[email protected]>Cc Rafael Wysocki <[email protected]>Cc Len Brown <[email protected]>--- drivers/base/power/main.c | 1 - 1 file changed, 1 deletion(-)drivers/base/power/main.c +0
-0
drivers/base/power/main.c
Quoted 8 lines
drivers/base/power/main.c +0
-2@@ -18,7 +18,6 @@*/ #include <linux/device.h> -#include <linux/kallsyms.h> #include <linux/export.h> #include <linux/mutex.h> #include <linux/pm.h> --
Do you want me to apply this or do you want to route it differently?
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Re: [PATCH 3/9] power: remove unneeded kallsyms include
Quoted 21 lines · Rafael J. Wysocki
Quoted 19 lines · Sergey Senozhatsky
The file was converted from
print_fn_descriptor_symbol()to %pF some time ago (c80cfb0406c01bb"vsprintf: use new vsprintf symbolic function pointer format"). kallsyms does not seem to be needed anymore.Signed-off-by Sergey Senozhatsky <[email protected]>Cc Rafael Wysocki <[email protected]>Cc Len Brown <[email protected]>--- drivers/base/power/main.c | 1 - 1 file changed, 1 deletion(-)drivers/base/power/main.c +0
-0@@ -18,7 +18,6 @@*/
Quoted 8 lines
drivers/base/power/main.c
Quoted 6 lines
drivers/base/power/main.c +0
-2#include <linux/device.h> -#include <linux/kallsyms.h> #include <linux/export.h> #include <linux/mutex.h> #include <linux/pm.h> --Do you want me to apply this or do you want to route it differently?
Hello Rafael,
don't mind if you'll pick it up.
-ss
Re: [PATCH 3/9] power: remove unneeded kallsyms include
Quoted 31 lines · CET Sergey Senozhatsky
Quoted 21 lines · Rafael J. Wysocki
Quoted 19 lines · Sergey Senozhatsky
The file was converted from
print_fn_descriptor_symbol()to %pF some time ago (c80cfb0406c01bb"vsprintf: use new vsprintf symbolic function pointer format"). kallsyms does not seem to be needed anymore.Signed-off-by Sergey Senozhatsky <[email protected]>Cc Rafael Wysocki <[email protected]>Cc Len Brown <[email protected]>--- drivers/base/power/main.c | 1 - 1 file changed, 1 deletion(-)drivers/base/power/main.c +0
-0@@ -18,7 +18,6 @@*/ Quoted 8 lines
drivers/base/power/main.c
Quoted 6 lines
drivers/base/power/main.c +0
-2#include <linux/device.h> -#include <linux/kallsyms.h> #include <linux/export.h> #include <linux/mutex.h> #include <linux/pm.h> --Do you want me to apply this or do you want to route it differently?
Quoted 3 lines
Hello Rafael,
don't mind if you'll pick it up.
OK, applied now.
Thanks!
Re: [PATCH 3/9] power: remove unneeded kallsyms include
On (12/17/17 19:04), Rafael J. Wysocki wrote:
[..]
Quoted 9 lines
Quoted 5 lines
Quoted 1 line
Do you want me to apply this or do you want to route it differently?
Hello Rafael,
don't mind if you'll pick it up.
OK, applied now.
Thanks!
thanks!
-ss
PATCH 4/9 pci: remove unneeded kallsyms include
In reply to Sergey SenozhatskyThe file was converted from print_fn_descriptor_symbol() to %pF some time ago (c9bbb4abb658da "PCI: use %pF instead of print_fn_descriptor_symbol() in quirks.c"). kallsyms does not seem to be needed anymore.
--- drivers/pci/quirks.c | 1 - 1 file changed, 1 deletion(-)
drivers/pci/quirks.c +0 -1
@@ -19,7 +19,6 @@#include <linux/init.h> #include <linux/delay.h> #include <linux/acpi.h> -#include <linux/kallsyms.h> #include <linux/dmi.h> #include <linux/pci-aspm.h> #include <linux/ioport.h>
Signature · 1 line
2.15.1
Bjorn Helgaas
AppliedRe: [PATCH 4/9] pci: remove unneeded kallsyms include
Quoted 7 lines · Sergey Senozhatsky
The file was converted from
print_fn_descriptor_symbol()to %pF some time ago (c9bbb4abb658da"PCI: use %pF instead ofprint_fn_descriptor_symbol()inquirks.c"). kallsyms does not seem to be needed anymore.Signed-off-by Sergey Senozhatsky <[email protected]>Cc Bjorn Helgaas <[email protected]>
Applied to pci/misc for v4.16, thanks for cleaning this up!
I *assume* there's no ordering dependency like the one you mentioned for sched/printk. If there is, let me know, and I'll move this to for-linus to get it in v4.15.
Quoted 19 lines
--- drivers/pci/quirks.c | 1 - 1 file changed, 1 deletion(-)drivers/pci/quirks.c +0
-1@@ -19,7 +19,6 @@#include <linux/init.h> #include <linux/delay.h> #include <linux/acpi.h> -#include <linux/kallsyms.h> #include <linux/dmi.h> #include <linux/pci-aspm.h> #include <linux/ioport.h> Signature · 1 line
2.15.1
Re: [PATCH 4/9] pci: remove unneeded kallsyms include
Quoted 10 lines · Bjorn Helgaas
Quoted 7 lines · Sergey Senozhatsky
The file was converted from
print_fn_descriptor_symbol()to %pF some time ago (c9bbb4abb658da"PCI: use %pF instead ofprint_fn_descriptor_symbol()inquirks.c"). kallsyms does not seem to be needed anymore.Signed-off-by Sergey Senozhatsky <[email protected]>Cc Bjorn Helgaas <[email protected]>Applied to pci/misc for v4.16, thanks for cleaning this up!
thanks!
Quoted 2 lines
I *assume* there's no ordering dependency like the one you mentioned for sched/printk.
no dependency. you are right.
-ss
PATCH 5/9 pnp: remove unneeded kallsyms include
In reply to Sergey SenozhatskyThe file was converted from print_fn_descriptor_symbol() to %pF some time ago (2e532d68a2b3e2aa {pci,pnp} quirks.c:
don't use deprecated print_fn_descriptor_symbol()). kallsyms does not seem to be needed anymore.
--- drivers/pnp/quirks.c | 1 - 1 file changed, 1 deletion(-)
drivers/pnp/quirks.c +0 -1
@@ -21,7 +21,6 @@#include <linux/slab.h> #include <linux/pnp.h> #include <linux/io.h> -#include <linux/kallsyms.h> #include "base.h" static void quirk_awe32_add_ports(struct pnp_dev *dev,
Signature · 1 line
2.15.1
Rafael J. Wysocki
maintainerRe: [PATCH 5/9] pnp: remove unneeded kallsyms include
Quoted 16 lines · Sergey Senozhatsky
The file was converted from
print_fn_descriptor_symbol()to %pF some time ago (2e532d68a2b3e2aa{pci,pnp}quirks.c:
don't use deprecatedprint_fn_descriptor_symbol()). kallsyms does not seem to be needed anymore.Signed-off-by Sergey Senozhatsky <[email protected]>Cc Bjorn Helgaas <[email protected]>--- drivers/pnp/quirks.c | 1 - 1 file changed, 1 deletion(-)drivers/pnp/quirks.c +0
-0
drivers/pnp/quirks.c
Quoted 8 lines
drivers/pnp/quirks.c +0
-2@@ -21,7 +21,6 @@#include <linux/slab.h> #include <linux/pnp.h> #include <linux/io.h> -#include <linux/kallsyms.h> #include "base.h" static void quirk_awe32_add_ports(struct pnp_dev *dev, --
Do you want me to apply this or do you want to route it differently?
Re: [PATCH 5/9] pnp: remove unneeded kallsyms include
Quoted 24 lines · Rafael J. Wysocki
Quoted 22 lines · Sergey Senozhatsky
The file was converted from
print_fn_descriptor_symbol()to %pF some time ago (2e532d68a2b3e2aa{pci,pnp}quirks.c:
don't use deprecatedprint_fn_descriptor_symbol()). kallsyms does not seem to be needed anymore.Signed-off-by Sergey Senozhatsky <[email protected]>Cc Bjorn Helgaas <[email protected]>--- drivers/pnp/quirks.c | 1 - 1 file changed, 1 deletion(-)drivers/pnp/quirks.c +0
-1@@ -21,7 +21,6 @@#include <linux/slab.h> #include <linux/pnp.h> #include <linux/io.h> -#include <linux/kallsyms.h> #include "base.h"
Quoted 4 lines
drivers/pnp/quirks.c
Quoted 2 lines
drivers/pnp/quirks.c +0
-1static void quirk_awe32_add_ports(struct pnp_dev *dev, --Do you want me to apply this or do you want to route it differently?
please pick it up.
-ss
Rafael J. Wysocki
AppliedRe: [PATCH 5/9] pnp: remove unneeded kallsyms include
Quoted 25 lines · CET Sergey Senozhatsky
Quoted 24 lines · Rafael J. Wysocki
Quoted 22 lines · Sergey Senozhatsky
The file was converted from
print_fn_descriptor_symbol()to %pF some time ago (2e532d68a2b3e2aa{pci,pnp}quirks.c:
don't use deprecatedprint_fn_descriptor_symbol()). kallsyms does not seem to be needed anymore.Signed-off-by Sergey Senozhatsky <[email protected]>Cc Bjorn Helgaas <[email protected]>--- drivers/pnp/quirks.c | 1 - 1 file changed, 1 deletion(-)drivers/pnp/quirks.c +0
-1@@ -21,7 +21,6 @@#include <linux/slab.h> #include <linux/pnp.h> #include <linux/io.h> -#include <linux/kallsyms.h> #include "base.h"
Quoted 6 lines
Quoted 4 lines
drivers/pnp/quirks.c
Quoted 2 lines
drivers/pnp/quirks.c +0
-1static void quirk_awe32_add_ports(struct pnp_dev *dev, --Do you want me to apply this or do you want to route it differently?
please pick it up.
Applied, thanks!
PATCH 6/9 mm: remove unneeded kallsyms include
In reply to Sergey SenozhatskyThe file was converted from sprint_symbol() to %pS some time ago (62c70bce8ac23651 "mm: convert sprintf_symbol to %pS"). kallsyms does not seem to be needed anymore.
--- mm/vmalloc.c | 1 - 1 file changed, 1 deletion(-)
mm/vmalloc.c +0 -1
@@ -19,7 +19,6 @@#include <linux/proc_fs.h> #include <linux/seq_file.h> #include <linux/debugobjects.h> -#include <linux/kallsyms.h> #include <linux/list.h> #include <linux/notifier.h> #include <linux/rbtree.h>
Signature · 7 lines
2.15.1 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
PATCH 7/9 workqueue: remove unneeded kallsyms include
In reply to Sergey SenozhatskyThe filw was converted from print_symbol() to %pf some time ago (044c782ce3a901fb "workqueue: fix checkpatch issues"). kallsyms does not seem to be needed anymore.
--- kernel/workqueue.c | 1 - 1 file changed, 1 deletion(-)
kernel/workqueue.c +0 -1
@@ -38,7 +38,6 @@#include <linux/hardirq.h> #include <linux/mempolicy.h> #include <linux/freezer.h> -#include <linux/kallsyms.h> #include <linux/debug_locks.h> #include <linux/lockdep.h> #include <linux/idr.h>
Signature · 7 lines
2.15.1 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Re: [PATCH 7/9] workqueue: remove unneeded kallsyms include
Quoted 7 lines · Sergey Senozhatsky
The filw was converted from
print_symbol()to %pf some time ago (044c782ce3a901fb"workqueue: fix checkpatch issues"). kallsyms does not seem to be needed anymore.Signed-off-by Sergey Senozhatsky <[email protected]>Cc Tejun Heo <[email protected]>Cc Lai Jiangshan <[email protected]>
Applied to wq/for-4.15-fixes.
Thanks.
Signature · 7 lines
tejun -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Re: [PATCH 7/9] workqueue: remove unneeded kallsyms include
Quoted 10 lines · Tejun Heo
Quoted 7 lines · Sergey Senozhatsky
The filw was converted from
print_symbol()to %pf some time ago (044c782ce3a901fb"workqueue: fix checkpatch issues"). kallsyms does not seem to be needed anymore.Signed-off-by Sergey Senozhatsky <[email protected]>Cc Tejun Heo <[email protected]>Cc Lai Jiangshan <[email protected]>Applied to wq/for-4.15-fixes.
thanks.
-ss
PATCH 8/9 hrtimer: remove unneeded kallsyms include
In reply to Sergey Senozhatskyhrtimer does not seem to use any of kallsyms functions/defines.
--- kernel/time/hrtimer.c | 1 - 1 file changed, 1 deletion(-)
kernel/time/hrtimer.c +0 -1
@@ -37,7 +37,6 @@#include <linux/hrtimer.h> #include <linux/notifier.h> #include <linux/syscalls.h> -#include <linux/kallsyms.h> #include <linux/interrupt.h> #include <linux/tick.h> #include <linux/seq_file.h>
Signature · 7 lines
2.15.1 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
PATCH 9/9 genirq: remove unneeded kallsyms include
In reply to Sergey SenozhatskyThe file was converted from print_symbol() to %pf some time ago (ef26f20cd117eb3c18 "genirq: Print threaded handler in spurious debug output"). kallsyms does not seem to be needed anymore.
--- kernel/irq/spurious.c | 1 - 1 file changed, 1 deletion(-)
kernel/irq/spurious.c +0 -1
@@ -10,7 +10,6 @@#include <linux/jiffies.h> #include <linux/irq.h> #include <linux/module.h> -#include <linux/kallsyms.h> #include <linux/interrupt.h> #include <linux/moduleparam.h> #include <linux/timer.h>
Signature · 7 lines
2.15.1 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Andrew Morton
maintainerQuoted 8 lines · On Fri, 8 Dec 2017 11:56:07 +0900 Sergey Senozhatsky…
A small patch set that removes some kallsyms includes
here and there. Mostly those kallsyms includes are leftovers:printk()gained %pS/%pF modifiers support some time ago, soprint_symbol()and friends became sort of unneeded [along withprint_fn_descriptor_symbol()deprecation], thus some of the users were converted to pS/pF. This patch set just cleans up that convertion.
Quoted 7 lines
We still have a number of
print_symbol()users [which
must be converted to ps/pf,print_symbol()uses a stack bufferKSYM_SYMBOL_LENto do what printk(ps/pf) can do], but this is out of scope.I compile tested the patch set; but, as always and
usual, would be great if 0day build robot double check it.
I grabbed everything and shall drop any patches which later turn up in the various subsystem trees.
Quoted 15 lines · Andrew Morton
Quoted 13 lines · On Fri, 8 Dec 2017 11:56:07 +0900 Sergey Senozhatsky…
A small patch set that removes some kallsyms includes
here and there. Mostly those kallsyms includes are leftovers:printk()gained %pS/%pF modifiers support some time ago, soprint_symbol()and friends became sort of unneeded [along withprint_fn_descriptor_symbol()deprecation], thus some of the users were converted to pS/pF. This patch set just cleans up that convertion.We still have a number of
print_symbol()users [which
must be converted to ps/pf,print_symbol()uses a stack bufferKSYM_SYMBOL_LENto do what printk(ps/pf) can do], but this is out of scope.
Quoted 5 lines
Quoted 2 lines
I compile tested the patch set; but, as always and
usual, would be great if 0day build robot double check it.I grabbed everything and shall drop any patches which later turn up in the various subsystem trees.
thank you!
-ss