On 01-04-18, Baoquan He wrote:
> On 01/04/18 at 03:54pm, Alexander Kuleshov wrote:
> > we align minimal possible address during randomization to
> > CONFIG_PHYSICAL_ALIGN
> > two times: during getting of random physical address and virtual
> > address (only for x
On 01-04-18, Baoquan He wrote:
> On 01/04/18 at 03:54pm, Alexander Kuleshov wrote:
> > we align minimal possible address during randomization to
> > CONFIG_PHYSICAL_ALIGN
> > two times: during getting of random physical address and virtual
> > address (only for x
().
Signed-off-by: Alexander Kuleshov <kuleshovm...@gmail.com>
---
arch/x86/boot/compressed/kaslr.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/arch/x86/boot/compressed/kaslr.c b/arch/x86/boot/compressed/kaslr.c
index 8199a6187251..8c93e399fdfd 100644
--- a/arch/x8
().
Signed-off-by: Alexander Kuleshov
---
arch/x86/boot/compressed/kaslr.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/arch/x86/boot/compressed/kaslr.c b/arch/x86/boot/compressed/kaslr.c
index 8199a6187251..8c93e399fdfd 100644
--- a/arch/x86/boot/compressed/kaslr.c
+++ b
Signed-off-by: Alexander Kuleshov <kuleshovm...@gmail.com>
---
lib/assoc_array.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/assoc_array.c b/lib/assoc_array.c
index 59fd7c0b119c..155c55d8db5f 100644
--- a/lib/assoc_array.c
+++ b/lib/assoc_array.c
@@ -1,
Signed-off-by: Alexander Kuleshov
---
lib/assoc_array.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/assoc_array.c b/lib/assoc_array.c
index 59fd7c0b119c..155c55d8db5f 100644
--- a/lib/assoc_array.c
+++ b/lib/assoc_array.c
@@ -1,6 +1,6 @@
/* Generic associative array
Commit-ID: 07d495dae20717b00881798ef812f7aa53ca0eb3
Gitweb: http://git.kernel.org/tip/07d495dae20717b00881798ef812f7aa53ca0eb3
Author: Alexander Kuleshov <kuleshovm...@gmail.com>
AuthorDate: Mon, 28 Nov 2016 13:50:57 +0600
Committer: Thomas Gleixner <t...@linutronix.de>
Com
Commit-ID: 07d495dae20717b00881798ef812f7aa53ca0eb3
Gitweb: http://git.kernel.org/tip/07d495dae20717b00881798ef812f7aa53ca0eb3
Author: Alexander Kuleshov
AuthorDate: Mon, 28 Nov 2016 13:50:57 +0600
Committer: Thomas Gleixner
CommitDate: Sat, 4 Feb 2017 09:36:59 +0100
x86/traps: Get
() and preempt_enable_no_resched() after/before
ist_enter()/ist_exit(). Let's get rid from them.
Signed-off-by: Alexander Kuleshov <kuleshovm...@gmail.com>
---
arch/x86/kernel/traps.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/arch/x86/kernel/traps.c b/arch/x86/kernel/traps.c
index b
() and preempt_enable_no_resched() after/before
ist_enter()/ist_exit(). Let's get rid from them.
Signed-off-by: Alexander Kuleshov
---
arch/x86/kernel/traps.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/arch/x86/kernel/traps.c b/arch/x86/kernel/traps.c
index bd4e3d4..5fbff64 100644
--- a/arch/x86
Commit-ID: 5e25d5bdf6d407224ad185a3fb8b870ad7d6c627
Gitweb: http://git.kernel.org/tip/5e25d5bdf6d407224ad185a3fb8b870ad7d6c627
Author: Alexander Kuleshov <kuleshovm...@gmail.com>
AuthorDate: Sun, 23 Oct 2016 19:56:46 +0600
Committer: Ingo Molnar <mi...@kernel.org>
CommitDate:
Commit-ID: 5e25d5bdf6d407224ad185a3fb8b870ad7d6c627
Gitweb: http://git.kernel.org/tip/5e25d5bdf6d407224ad185a3fb8b870ad7d6c627
Author: Alexander Kuleshov
AuthorDate: Sun, 23 Oct 2016 19:56:46 +0600
Committer: Ingo Molnar
CommitDate: Tue, 25 Oct 2016 11:43:31 +0200
x86/entry64: Remove
then the
CALL_enter_from_user_mode macro expands to the informing of
context tracking about this event. Let's move part of comment to
the right place where actual call to context tracing occured.
Signed-off-by: Alexander Kuleshov <kuleshovm...@gmail.com>
---
arch/x86/entry/entry_64.S | 6 --
1 file chan
then the
CALL_enter_from_user_mode macro expands to the informing of
context tracking about this event. Let's move part of comment to
the right place where actual call to context tracing occured.
Signed-off-by: Alexander Kuleshov
---
arch/x86/entry/entry_64.S | 6 --
1 file changed, 4 insertions(+), 2
arch/x86/entry/common.c")
commit.
syscall_trace_enter() now uses same defines from ,
so these defines are no longer used anywhere in entry_64.S outside
of it and we may remove them.
Signed-off-by: Alexander Kuleshov <kuleshovm...@gmail.com>
Reviewed-by: Borislav Petkov <b...@suse
arch/x86/entry/common.c")
commit.
syscall_trace_enter() now uses same defines from ,
so these defines are no longer used anywhere in entry_64.S outside
of it and we may remove them.
Signed-off-by: Alexander Kuleshov
Reviewed-by: Borislav Petkov
---
ChangeLog:
v1 -> v2:
- Added more detail
On 10-23-16, Borislav Petkov wrote:
> Now, I went and made it a bit more readable and put the commit IDs and
> their names on separate lines, like we do in tip:
>
> "These macros were added in commit
>
> 86a1c34a929f ("x86_64 syscall audit fast-path").
>
> They were used for sycalls auditing,
On 10-23-16, Borislav Petkov wrote:
> Now, I went and made it a bit more readable and put the commit IDs and
> their names on separate lines, like we do in tip:
>
> "These macros were added in commit
>
> 86a1c34a929f ("x86_64 syscall audit fast-path").
>
> They were used for sycalls auditing,
t (x86/entry: Move
C entry and exit code to arch/x86/entry/common.c by Andy Lutomirski
<l...@kernel.org>).
The syscall_trace_enter() now uses same defines from ,
so these defines are no longer used anywhere in entry_64.S and we may
remove them.
Signed-off-by: Alexander Kuleshov <kulesho
entry and exit code to arch/x86/entry/common.c by Andy Lutomirski
).
The syscall_trace_enter() now uses same defines from ,
so these defines are no longer used anywhere in entry_64.S and we may
remove them.
Signed-off-by: Alexander Kuleshov
---
ChangeLog:
v1 -> v2:
- Added more details in the com
Hello Borislav,
On 10-23-16, Borislav Petkov wrote:
> I'd prefer it if you said which patch *removed* them and made those
> defines unused again.
>
> What would be even better is if your commit message explained *why* they
> were removed in that patch and that because of we
> don't need them
Hello Borislav,
On 10-23-16, Borislav Petkov wrote:
> I'd prefer it if you said which patch *removed* them and made those
> defines unused again.
>
> What would be even better is if your commit message explained *why* they
> were removed in that patch and that because of we
> don't need them
which are ocured in the 86a1c34a929f commit (x86_64 syscall audit
fast-path by Roland McGrath <rol...@redhat.com>) and now they are
not used anymore.
Signed-off-by: Alexander Kuleshov <kuleshovm...@gmail.com>
---
arch/x86/entry/entry_64.S | 6 --
1 file changed, 6 deletions(-)
which are ocured in the 86a1c34a929f commit (x86_64 syscall audit
fast-path by Roland McGrath ) and now they are
not used anymore.
Signed-off-by: Alexander Kuleshov
---
arch/x86/entry/entry_64.S | 6 --
1 file changed, 6 deletions(-)
diff --git a/arch/x86/entry/entry_64.S b/arch/x86/entry
Commit-ID: 29a6d7964d6853f5bcd84dfb92c074fb41d00563
Gitweb: http://git.kernel.org/tip/29a6d7964d6853f5bcd84dfb92c074fb41d00563
Author: Alexander Kuleshov <kuleshovm...@gmail.com>
AuthorDate: Thu, 20 Oct 2016 18:07:04 +0600
Committer: Ingo Molnar <mi...@kernel.org>
CommitDate:
Commit-ID: 29a6d7964d6853f5bcd84dfb92c074fb41d00563
Gitweb: http://git.kernel.org/tip/29a6d7964d6853f5bcd84dfb92c074fb41d00563
Author: Alexander Kuleshov
AuthorDate: Thu, 20 Oct 2016 18:07:04 +0600
Committer: Ingo Molnar
CommitDate: Fri, 21 Oct 2016 07:47:36 +0200
entry/64: Remove
Commit-ID: b05d20f9a12fb7795b2bd220e7dd56e29e196ba8
Gitweb: http://git.kernel.org/tip/b05d20f9a12fb7795b2bd220e7dd56e29e196ba8
Author: Alexander Kuleshov <kuleshovm...@gmail.com>
AuthorDate: Thu, 20 Oct 2016 18:07:04 +0600
Committer: Thomas Gleixner <t...@linutronix.de>
Com
Commit-ID: b05d20f9a12fb7795b2bd220e7dd56e29e196ba8
Gitweb: http://git.kernel.org/tip/b05d20f9a12fb7795b2bd220e7dd56e29e196ba8
Author: Alexander Kuleshov
AuthorDate: Thu, 20 Oct 2016 18:07:04 +0600
Committer: Thomas Gleixner
CommitDate: Thu, 20 Oct 2016 23:41:15 +0200
entry/64: Remove
Signed-off-by: Alexander Kuleshov <kuleshovm...@gmail.com>
---
arch/x86/entry/calling.h | 9 -
1 file changed, 9 deletions(-)
diff --git a/arch/x86/entry/calling.h b/arch/x86/entry/calling.h
index 9a9e588..e32353a 100644
--- a/arch/x86/entry/calling.h
+++ b/arch/x86/entry/cal
Signed-off-by: Alexander Kuleshov
---
arch/x86/entry/calling.h | 9 -
1 file changed, 9 deletions(-)
diff --git a/arch/x86/entry/calling.h b/arch/x86/entry/calling.h
index 9a9e588..e32353a 100644
--- a/arch/x86/entry/calling.h
+++ b/arch/x86/entry/calling.h
@@ -147,15 +147,6 @@ For 32
Commit-ID: 59df2268311795ee7161776248d5288ee0841d41
Gitweb: http://git.kernel.org/tip/59df2268311795ee7161776248d5288ee0841d41
Author: Alexander Kuleshov <kuleshovm...@gmail.com>
AuthorDate: Thu, 20 Oct 2016 01:11:08 +0600
Committer: Ingo Molnar <mi...@kernel.org>
CommitDate:
Commit-ID: 59df2268311795ee7161776248d5288ee0841d41
Gitweb: http://git.kernel.org/tip/59df2268311795ee7161776248d5288ee0841d41
Author: Alexander Kuleshov
AuthorDate: Thu, 20 Oct 2016 01:11:08 +0600
Committer: Ingo Molnar
CommitDate: Thu, 20 Oct 2016 08:42:36 +0200
x86/entry/64: Remove
Commit-ID: ac679bf247cf044a5be6ca7d380307540284dd45
Gitweb: http://git.kernel.org/tip/ac679bf247cf044a5be6ca7d380307540284dd45
Author: Alexander Kuleshov <kuleshovm...@gmail.com>
AuthorDate: Thu, 20 Oct 2016 01:11:08 +0600
Committer: Thomas Gleixner <t...@linutronix.de>
Com
Commit-ID: ac679bf247cf044a5be6ca7d380307540284dd45
Gitweb: http://git.kernel.org/tip/ac679bf247cf044a5be6ca7d380307540284dd45
Author: Alexander Kuleshov
AuthorDate: Thu, 20 Oct 2016 01:11:08 +0600
Committer: Thomas Gleixner
CommitDate: Thu, 20 Oct 2016 10:57:37 +0200
x86/entry
as no-one user of ALLOC_PT_GPREGS_ON_STACK macro doesn't pass it.
Signed-off-by: Alexander Kuleshov <kuleshovm...@gmail.com>
---
arch/x86/entry/calling.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/entry/calling.h b/arch/x86/entry/calling.h
index 9
as no-one user of ALLOC_PT_GPREGS_ON_STACK macro doesn't pass it.
Signed-off-by: Alexander Kuleshov
---
arch/x86/entry/calling.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/entry/calling.h b/arch/x86/entry/calling.h
index 9a9e588..b493c6a 100644
--- a/arch
Commit-ID: 00b992deaa08495ab958da5950c9ebbba27d0ddc
Gitweb: http://git.kernel.org/tip/00b992deaa08495ab958da5950c9ebbba27d0ddc
Author: Alexander Kuleshov <kuleshovm...@gmail.com>
AuthorDate: Tue, 19 Jul 2016 15:54:08 +0600
Committer: Thomas Gleixner <t...@linutronix.de>
Com
Commit-ID: 00b992deaa08495ab958da5950c9ebbba27d0ddc
Gitweb: http://git.kernel.org/tip/00b992deaa08495ab958da5950c9ebbba27d0ddc
Author: Alexander Kuleshov
AuthorDate: Tue, 19 Jul 2016 15:54:08 +0600
Committer: Thomas Gleixner
CommitDate: Tue, 6 Sep 2016 12:14:12 +0200
genirq: No need
current information about THREAD_SIZE value is obsoleted. This patch
fixes this.
Signed-off-by: Alexander Kuleshov <kuleshovm...@gmail.com>
---
Documentation/x86/kernel-stacks | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/x86/kernel-stacks b/Documen
current information about THREAD_SIZE value is obsoleted. This patch
fixes this.
Signed-off-by: Alexander Kuleshov
---
Documentation/x86/kernel-stacks | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/x86/kernel-stacks b/Documentation/x86/kernel-stacks
index
as the ACPI_INFO already prints `\n` in the end itself.
Signed-off-by: Alexander Kuleshov <kuleshovm...@gmail.com>
---
drivers/acpi/acpica/tbxfload.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/acpica/tbxfload.c b/drivers/acpi/acpica/tbxfload.c
index a
as the ACPI_INFO already prints `\n` in the end itself.
Signed-off-by: Alexander Kuleshov
---
drivers/acpi/acpica/tbxfload.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/acpica/tbxfload.c b/drivers/acpi/acpica/tbxfload.c
index ac71abc..e7119b7 100644
s/accomodate/accommodate
Signed-off-by: Alexander Kuleshov <kuleshovm...@gmail.com>
---
mm/memblock.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mm/memblock.c b/mm/memblock.c
index ff5ff3b..1f065da 100644
--- a/mm/memblock.c
+++ b/mm/memblock.c
@@ -482,7
s/accomodate/accommodate
Signed-off-by: Alexander Kuleshov
---
mm/memblock.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mm/memblock.c b/mm/memblock.c
index ff5ff3b..1f065da 100644
--- a/mm/memblock.c
+++ b/mm/memblock.c
@@ -482,7 +482,7 @@ static void
Some callers of __irq_set_trigger() masks all flags besides trigger mode
flags. Actually it is unnecessary operation now, because the
__irq_set_trigger() already does this before usage of flags.
Signed-off-by: Alexander Kuleshov <kuleshovm...@gmail.com>
---
kernel/irq/chip.c | 1 -
kern
Some callers of __irq_set_trigger() masks all flags besides trigger mode
flags. Actually it is unnecessary operation now, because the
__irq_set_trigger() already does this before usage of flags.
Signed-off-by: Alexander Kuleshov
---
kernel/irq/chip.c | 1 -
kernel/irq/manage.c | 5 ++---
2
little.
Signed-off-by: Alexander Kuleshov <kuleshovm...@gmail.com>
---
mm/memblock.c | 28 ++--
1 file changed, 6 insertions(+), 22 deletions(-)
diff --git a/mm/memblock.c b/mm/memblock.c
index b570ddd..3b93daa 100644
--- a/mm/memblock.c
+++ b/mm/memblock.c
@@ -606,22 +6
are not used by anybody
outside of memblock.c and the memblock_{add,reserve}() have the same set of
flags and nids.
Since the memblock_add_region() and memblock_reserve_region() anyway will be
inlined, there will not be functional changes, but will improve code readability
a little.
Signed-off-by: Alexander
which is introduced in the 7aca0c072 commit to simplify calculation of
the mult and shift in the clocks_calc_mult_shift().
Signed-off-by: Alexander Kuleshov <kuleshovm...@gmail.com>
---
kernel/time/clocksource.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/kerne
which is introduced in the 7aca0c072 commit to simplify calculation of
the mult and shift in the clocks_calc_mult_shift().
Signed-off-by: Alexander Kuleshov
---
kernel/time/clocksource.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/kernel/time/clocksource.c b/kernel
Commit-ID: 6fc77525f509e16b1e909e5ffd6f9ad9dccc0f82
Gitweb: http://git.kernel.org/tip/6fc77525f509e16b1e909e5ffd6f9ad9dccc0f82
Author: Alexander Kuleshov <kuleshovm...@gmail.com>
AuthorDate: Fri, 26 Feb 2016 15:04:36 +0600
Committer: Ingo Molnar <mi...@kernel.org>
CommitDate:
Commit-ID: 6fc77525f509e16b1e909e5ffd6f9ad9dccc0f82
Gitweb: http://git.kernel.org/tip/6fc77525f509e16b1e909e5ffd6f9ad9dccc0f82
Author: Alexander Kuleshov
AuthorDate: Fri, 26 Feb 2016 15:04:36 +0600
Committer: Ingo Molnar
CommitDate: Sat, 27 Feb 2016 12:52:27 +0100
x86/setup: Calculate
Commit-ID: 232d26373d310a941ef2ab46e53ea62fe076ed13
Gitweb: http://git.kernel.org/tip/232d26373d310a941ef2ab46e53ea62fe076ed13
Author: Alexander Kuleshov <kuleshovm...@gmail.com>
AuthorDate: Fri, 26 Feb 2016 19:14:14 -0800
Committer: Thomas Gleixner <t...@linutronix.de>
Com
Commit-ID: 232d26373d310a941ef2ab46e53ea62fe076ed13
Gitweb: http://git.kernel.org/tip/232d26373d310a941ef2ab46e53ea62fe076ed13
Author: Alexander Kuleshov
AuthorDate: Fri, 26 Feb 2016 19:14:14 -0800
Committer: Thomas Gleixner
CommitDate: Sat, 27 Feb 2016 08:55:31 +0100
jiffies: Use
Commit-ID: 7aca0c07207385cca76025cc85231519935722b9
Gitweb: http://git.kernel.org/tip/7aca0c07207385cca76025cc85231519935722b9
Author: Alexander Kuleshov <kuleshovm...@gmail.com>
AuthorDate: Fri, 26 Feb 2016 19:14:13 -0800
Committer: Thomas Gleixner <t...@linutronix.de>
Com
Commit-ID: 7aca0c07207385cca76025cc85231519935722b9
Gitweb: http://git.kernel.org/tip/7aca0c07207385cca76025cc85231519935722b9
Author: Alexander Kuleshov
AuthorDate: Fri, 26 Feb 2016 19:14:13 -0800
Committer: Thomas Gleixner
CommitDate: Sat, 27 Feb 2016 08:55:30 +0100
clocksource
The arch/x86/include/asm/bitops.h provides IS_IMMEDIATE macro which expands to
the call of the __builtin_constant_p(). Let's use this macro in the test_bit()
to be more clear.
Signed-off-by: Alexander Kuleshov <kuleshovm...@gmail.com>
---
arch/x86/include/asm/bitops.h | 2 +-
1 file chan
The arch/x86/include/asm/bitops.h provides IS_IMMEDIATE macro which expands to
the call of the __builtin_constant_p(). Let's use this macro in the test_bit()
to be more clear.
Signed-off-by: Alexander Kuleshov
---
arch/x86/include/asm/bitops.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion
() and relocate_initrd() functions.
This allows us to not get/check ramdisk parameters from the bootparams
every time in the early_reserve_initrd(), reserve_initrd() and
relocate_initrd() function.
Signed-off-by: Alexander Kuleshov <kuleshovm...@gmail.com>
---
Tested as with virtual machine as with real ha
() and relocate_initrd() functions.
This allows us to not get/check ramdisk parameters from the bootparams
every time in the early_reserve_initrd(), reserve_initrd() and
relocate_initrd() function.
Signed-off-by: Alexander Kuleshov
---
Tested as with virtual machine as with real hardware.
Changelog:
v8
() and relocate_initrd() functions.
This allows us to not get/check ramdisk parameters from the bootparams
every time in the early_reserve_initrd(), reserve_initrd() and
relocate_initrd() function.
Signed-off-by: Alexander Kuleshov <kuleshovm...@gmail.com>
---
Tested as with virtual machine as with real ha
() and relocate_initrd() functions.
This allows us to not get/check ramdisk parameters from the bootparams
every time in the early_reserve_initrd(), reserve_initrd() and
relocate_initrd() function.
Signed-off-by: Alexander Kuleshov
---
Tested as with virtual machine as with real hardware.
Changelog:
v7
We have definition of the early_idt_ripmsg which represents string header
for the output of the kernel symbols during early exception. But the
header with kernel symbols will be printed in a case if the CONFIG_KALLSYMS=y.
Signed-off-by: Alexander Kuleshov <kuleshovm...@gmail.com>
---
Cha
We have definition of the early_idt_ripmsg which represents string header
for the output of the kernel symbols during early exception. But the
header with kernel symbols will be printed in a case if the CONFIG_KALLSYMS=y.
Signed-off-by: Alexander Kuleshov
---
Changelog:
v2: commit message fixed
() and relocate_initrd() functions.
This allows us to not get/check ramdisk parameters from the bootparams
every time in the early_reserve_initrd(), reserve_initrd() and
relocate_initrd() function.
Signed-off-by: Alexander Kuleshov <kuleshovm...@gmail.com>
---
Tested as with virtual machine as with real ha
() and relocate_initrd() functions.
This allows us to not get/check ramdisk parameters from the bootparams
every time in the early_reserve_initrd(), reserve_initrd() and
relocate_initrd() function.
Signed-off-by: Alexander Kuleshov
---
Tested as with virtual machine as with real hardware.
Changelog:
v6
29979605 1c973d5 vmlinux
text data bss dec hex filename
9292602 5011696 15675392 29979690 1c9742a vmlinux
Signed-off-by: Alexander Kuleshov <kuleshovm...@gmail.com>
---
Tested as with virtual machine as with real hardware.
Changelog:
v5:
* move
29979605 1c973d5 vmlinux
text data bss dec hex filename
9292602 5011696 15675392 29979690 1c9742a vmlinux
Signed-off-by: Alexander Kuleshov
---
Tested as with virtual machine as with real hardware.
Changelog:
v5:
* move check of the reserve_ramdisk to the reserve_initrd
29979690 1c9742a vmlinux.orig
text data bss dec hex filename
9292517 5011696 15675392 29979605 1c973d5 vmlinux
Signed-off-by: Alexander Kuleshov
---
Tested as with virtual machine as with real hardware.
Changelog:
v4:
* bool reserve_ramdisk moved to the struct
29979690 1c9742a vmlinux.orig
text data bss dec hex filename
9292517 5011696 15675392 29979605 1c973d5 vmlinux
Signed-off-by: Alexander Kuleshov <kuleshovm...@gmail.com>
---
Tested as with virtual machine as with real hardware.
Changelog:
v4:
Commit-ID: a91bbe017552b80e12d712c85549b933a62c6ed4
Gitweb: http://git.kernel.org/tip/a91bbe017552b80e12d712c85549b933a62c6ed4
Author: Alexander Kuleshov
AuthorDate: Tue, 9 Feb 2016 19:44:54 +0600
Committer: Ingo Molnar
CommitDate: Tue, 9 Feb 2016 14:55:48 +0100
x86/boot: Use proper
We changed loops with memset in the 5e9ebbd87a99 commit (x86/boot:
Micro-optimize reset_early_page_tables()). The base for size of
memset was size of pud_p/pmd_p, but the they are actually
represented as pointers, although they have the same sizes.
Signed-off-by: Alexander Kuleshov
---
based
1cc8500 vmlinux.old
9735119 4970776 15474688301805831cc84e7 vmlinux
Signed-off-by: Alexander Kuleshov
---
Changelog:
v2: We got sizeof pud_p/pmd_p in the v1, but actually we need
to take sizeof of pud_p/pmd_p pointer, although their sizes are
the same.
arch/x86/kernel/head64.c
bss dechex filename
9281559 5010736 15474688297669831c63547 vmlinux
Signed-off-by: Alexander Kuleshov
---
Tested as with virtual machine as with real hardware.
Changelog:
v3: introduced ramdisk setup which is filled in th
setup_arch() and passed
Hello Ingo,
On Tue, Feb 9, 2016 at 3:16 PM, Ingo Molnar wrote:
>
> So I don't think the code got easier to understand - in particular the
> memblock_reserve()/free() pattern, depending on a flag value, is confusing.
>
> The duplication is there - but please factor it out into a helper structure
We changed loops with memset in the 5e9ebbd87a99 commit (x86/boot:
Micro-optimize reset_early_page_tables()). The base for size of
memset was size of pud_p/pmd_p, but the they are actually
represented as pointers, although they have the same sizes.
Signed-off-by: Alexander Kuleshov <kulesh
Hello Ingo,
On Tue, Feb 9, 2016 at 3:16 PM, Ingo Molnar wrote:
>
> So I don't think the code got easier to understand - in particular the
> memblock_reserve()/free() pattern, depending on a flag value, is confusing.
>
> The duplication is there - but please factor it out into a
bss dechex filename
9281559 5010736 15474688297669831c63547 vmlinux
Signed-off-by: Alexander Kuleshov <kuleshovm...@gmail.com>
---
Tested as with virtual machine as with real hardware.
Changelog:
v3: introduced ramdisk setup which is filled
1cc8500 vmlinux.old
9735119 4970776 15474688301805831cc84e7 vmlinux
Signed-off-by: Alexander Kuleshov <kuleshovm...@gmail.com>
---
Changelog:
v2: We got sizeof pud_p/pmd_p in the v1, but actually we need
to take sizeof of pud_p/pmd_p pointer, although their sizes are
th
Commit-ID: a91bbe017552b80e12d712c85549b933a62c6ed4
Gitweb: http://git.kernel.org/tip/a91bbe017552b80e12d712c85549b933a62c6ed4
Author: Alexander Kuleshov <kuleshovm...@gmail.com>
AuthorDate: Tue, 9 Feb 2016 19:44:54 +0600
Committer: Ingo Molnar <mi...@kernel.org>
CommitDate
data bss dec hex filename
9281618 5010736 15474688 29767042 1c63582 vmlinux.orig
textdata bss dec hex filename
9281222 5010672 15474688 29766582 1c633b6 vmlinux.new
Signed-off-by: Alexander Kuleshov
---
Changelog:
v2: parameter
On Mon, Feb 8, 2016 at 9:56 PM, Andy Shevchenko
wrote:
> On Fri, Feb 5, 2016 at 7:38 PM, Alexander Kuleshov
> wrote:
>> The check and definitions related to ramdisk are similar in the
>> early_reserve_initrd() and reserve_initrd(). So we can get rid of
>> early_reserve_i
data bss dec hex filename
9281618 5010736 15474688 29767042 1c63582 vmlinux.orig
textdata bss dec hex filename
9281222 5010672 15474688 29766582 1c633b6 vmlinux.new
Signed-off-by: Alexander Kuleshov <kuleshovm...@gmail.
On Mon, Feb 8, 2016 at 9:56 PM, Andy Shevchenko
<andy.shevche...@gmail.com> wrote:
> On Fri, Feb 5, 2016 at 7:38 PM, Alexander Kuleshov
> <kuleshovm...@gmail.com> wrote:
>> The check and definitions related to ramdisk are similar in the
>> early_reserve_initrd() and r
The CLOCKSOURCE_MASK(32) macro expands to the same value, but
makes code more readable.
Signed-off-by: Alexander Kuleshov
---
v2: typo fixed in commit message
kernel/time/jiffies.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/time/jiffies.c b/kernel/time
The CLOCKSOURCE_MASK(32) macro expands to the same value, but
makes code more readable.
Signed-off-by: Alexander Kuleshov <kuleshovm...@gmail.com>
---
v2: typo fixed in commit message
kernel/time/jiffies.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kerne
The CLOCKSOURCE_MASK(32) macro expands to the same value, but
makes code more readable.
Signed-off-by: Alexander Kuleshov
---
kernel/time/jiffies.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/time/jiffies.c b/kernel/time/jiffies.c
index 347fecf..555e21f 100644
code duplication.
Signed-off-by: Alexander Kuleshov
---
include/linux/clocksource.h | 45 +++--
1 file changed, 19 insertions(+), 26 deletions(-)
diff --git a/include/linux/clocksource.h b/include/linux/clocksource.h
index 6013021..a307bf6 100644
The check and definitions related to ramdisk are similar in the
early_reserve_initrd() and reserve_initrd(). So we can get rid of
early_reserve_initrd() and and use late or early algorithm for
initrd reservation depends on reserve_initrd() parameter value.
Signed-off-by: Alexander Kuleshov
The CLOCKSOURCE_MASK(32) macro expands to the same value, but
makes code more readable.
Signed-off-by: Alexander Kuleshov <kuleshovm...@gmail.com>
---
kernel/time/jiffies.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/time/jiffies.c b/kernel/time/jiffies.c
code duplication.
Signed-off-by: Alexander Kuleshov <kuleshovm...@gmail.com>
---
include/linux/clocksource.h | 45 +++--
1 file changed, 19 insertions(+), 26 deletions(-)
diff --git a/include/linux/clocksource.h b/include/linux/clocksource.h
index 6
The check and definitions related to ramdisk are similar in the
early_reserve_initrd() and reserve_initrd(). So we can get rid of
early_reserve_initrd() and and use late or early algorithm for
initrd reservation depends on reserve_initrd() parameter value.
Signed-off-by: Alexander Kuleshov
We define struct memblock_type *type in the memblock_add_region()
and memblock_reserve_region() functions only for passing it to the
memlock_add_range() and memblock_reserve_range() functions. Let's
remove these variables and will pass a type directly.
Signed-off-by: Alexander Kuleshov
---
mm
We define struct memblock_type *type in the memblock_add_region()
and memblock_reserve_region() functions only for passing it to the
memlock_add_range() and memblock_reserve_range() functions. Let's
remove these variables and will pass a type directly.
Signed-off-by: Alexander Kuleshov <kulesh
Signed-off-by: Alexander Kuleshov
---
init/do_mounts.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/init/do_mounts.c b/init/do_mounts.c
index dea5de9..ca5da05 100644
--- a/init/do_mounts.c
+++ b/init/do_mounts.c
@@ -505,7 +505,9 @@ void __init change_floppy(char *fmt
Signed-off-by: Alexander Kuleshov <kuleshovm...@gmail.com>
---
init/do_mounts.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/init/do_mounts.c b/init/do_mounts.c
index dea5de9..ca5da05 100644
--- a/init/do_mounts.c
+++ b/init/do_mounts.c
@@ -505,7 +505,9 @@ void
Commit-ID: d99e1bd175f4291ddb6e62b22bb5bdbe3976389a
Gitweb: http://git.kernel.org/tip/d99e1bd175f4291ddb6e62b22bb5bdbe3976389a
Author: Alexander Kuleshov
AuthorDate: Mon, 25 Jan 2016 20:41:46 +0100
Committer: Ingo Molnar
CommitDate: Mon, 1 Feb 2016 10:45:14 +0100
x86/entry/traps
checks 'dis_ucode_ldr'
option which may be passed through builtin command line.
Signed-off-by: Alexander Kuleshov
---
arch/x86/include/asm/setup.h | 2 +-
arch/x86/kernel/head64.c | 5 +
arch/x86/kernel/setup.c | 31 +++
3 files changed, 25 insertions
checks 'dis_ucode_ldr'
option which may be passed through builtin command line.
Signed-off-by: Alexander Kuleshov <kuleshovm...@gmail.com>
---
arch/x86/include/asm/setup.h | 2 +-
arch/x86/kernel/head64.c | 5 +
arch/x86/kernel/setup.c | 31 +++
3
Commit-ID: d99e1bd175f4291ddb6e62b22bb5bdbe3976389a
Gitweb: http://git.kernel.org/tip/d99e1bd175f4291ddb6e62b22bb5bdbe3976389a
Author: Alexander Kuleshov <kuleshovm...@gmail.com>
AuthorDate: Mon, 25 Jan 2016 20:41:46 +0100
Committer: Ingo Molnar <mi...@kernel.org>
CommitDate
1 - 100 of 720 matches
Mail list logo