mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Soumendu Satapathy <satapathy.soumendu@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Oops in 2.6.27.39 with Latest DTrace linux port.
Date: Tue, 22 Dec 2009 15:42:39 -0500	[thread overview]
Message-ID: <b3eb0ed40912221242h183cb99o1be6f76630769de5@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 149 bytes --]

http://lkml.org/lkml/2009/12/22/219

Genuinely sorry ,  attaching the patch once again as there was some issues.


- Soumendu Sekhar Satapathy

[-- Attachment #2: patch --]
[-- Type: application/octet-stream, Size: 513 bytes --]

--- driver/dtrace_linux.c.orig	2009-12-22 20:33:02.239383000 +0000
+++ driver/dtrace_linux.c	2009-12-22 20:35:01.870196000 +0000
@@ -1450,7 +1450,15 @@
 //		printk("yy: pmd=%lx\n", *pmd);
 		return 0;
 	}
-	pte = pte_offset_kernel(pmd, addr);
+
+	if (pmd_large(*pmd)) 
+                pte = (pte_t *)pmd;
+        else 
+                pte = pte_offset_kernel(pmd, addr);
+
+        if (pte_none(*pte))
+                return 0;
+
 	if (dump_tree) {
 		printk("yy -- begin\n");
 		print_pte((pte_t *) pgd, 0);

             reply	other threads:[~2009-12-22 20:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-22 20:42 Soumendu Satapathy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-12-22 20:26 Oops in 2.6.27.39 with latest " Soumendu Satapathy
2009-12-22 20:45 ` Andi Kleen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b3eb0ed40912221242h183cb99o1be6f76630769de5@mail.gmail.com \
    --to=satapathy.soumendu@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®