+ kexec-i386-remove-page_size-alignment-from-relocate_kernel.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     kexec/i386: remove PAGE_SIZE alignment from relocate_kernel
has been added to the -mm tree.  Its filename is
     kexec-i386-remove-page_size-alignment-from-relocate_kernel.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: kexec/i386: remove PAGE_SIZE alignment from relocate_kernel
From: Huang Ying <ying.huang@xxxxxxxxx>

Remove the PAGE_SIZE alignment from relocate_kernel().  Before kexec jump
patches are merged, control page is mapped to relocate_kernel in kexec
page tables, so relocate_kernel must be PAGE_SIZE aligned.  Now, control
page is mapped to identity mapped address, so relocate_kernel need not to
be PAGE_SIZE aligned any more.  This can reduce a few KB from kernel text
segement.

Signed-off-by: Huang Ying <ying.huang@xxxxxxxxx>
Reviewed-by: Simon Horman <horms@xxxxxxxxxxxx>
Cc: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>
Cc: Vivek Goyal <vgoyal@xxxxxxxxxx> 
Cc: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Cc: Magnus Damm <magnus.damm@xxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/x86/kernel/relocate_kernel_32.S |    1 -
 1 file changed, 1 deletion(-)

diff -puN arch/x86/kernel/relocate_kernel_32.S~kexec-i386-remove-page_size-alignment-from-relocate_kernel arch/x86/kernel/relocate_kernel_32.S
--- a/arch/x86/kernel/relocate_kernel_32.S~kexec-i386-remove-page_size-alignment-from-relocate_kernel
+++ a/arch/x86/kernel/relocate_kernel_32.S
@@ -39,7 +39,6 @@
 #define CP_PA_BACKUP_PAGES_MAP	DATA(0x1c)
 
 	.text
-	.align PAGE_SIZE
 	.globl relocate_kernel
 relocate_kernel:
 	/* Save the CPU context, used for jumping back */
_

Patches currently in -mm which might be from ying.huang@xxxxxxxxx are

kexec-i386-remove-page_size-alignment-from-relocate_kernel.patch
kexec-i386-allocate-page-table-pages-dynamically.patch
kexec-i386-setup-kexec-page-table-in-c.patch
atomic_t-unify-all-arch-definitions.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux