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


Groups > linux.kernel > #1329716 > unrolled thread

[PATCH 3.2 24/87] x86/LDT: Print the real LDT base address

Started byBen Hutchings <ben@decadent.org.uk>
First post2016-02-09 01:00 +0100
Last post2016-02-09 01:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 3.2 24/87] x86/LDT: Print the real LDT base address Ben Hutchings <ben@decadent.org.uk> - 2016-02-09 01:00 +0100

#1329716 — [PATCH 3.2 24/87] x86/LDT: Print the real LDT base address

FromBen Hutchings <ben@decadent.org.uk>
Date2016-02-09 01:00 +0100
Subject[PATCH 3.2 24/87] x86/LDT: Print the real LDT base address
Message-ID<r03SP-3V2-55@gated-at.bofh.it>
3.2.77-rc1 review patch.  If anyone has any objections, please let me know.

------------------

From: Jan Beulich <JBeulich@suse.com>

commit 0d430e3fb3f7cdc13c0d22078b820f682821b45a upstream.

This was meant to print base address and entry count; make it do so
again.

Fixes: 37868fe113ff "x86/ldt: Make modify_ldt synchronous"
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andy Lutomirski <luto@kernel.org>
Link: http://lkml.kernel.org/r/56797D8402000078000C24F0@prv-mh.provo.novell.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
 arch/x86/kernel/process_64.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/x86/kernel/process_64.c
+++ b/arch/x86/kernel/process_64.c
@@ -221,7 +221,7 @@ void release_thread(struct task_struct *
 		if (dead_task->mm->context.ldt) {
 			printk("WARNING: dead process %8s still has LDT? <%p/%d>\n",
 					dead_task->comm,
-					dead_task->mm->context.ldt,
+					dead_task->mm->context.ldt->entries,
 					dead_task->mm->context.ldt->size);
 			BUG();
 		}

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web