[no subject]

2013-10-20 Thread Piyus Kedia
unsubscribe kvm -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[no subject]

2013-10-20 Thread Piyus Kedia
unsubscribe linux-kernel -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: Classifying user and kernel pages

2013-10-20 Thread Piyus Kedia
The user pages are generally allocated using GFP_USER or GFP_HIGHMEM flags. The linux kernel treats GFP_USER and GFP_KERNEL as same. So, there is no way you can tell whether a physical page belongs to user process or not using physical frame number. Piyus On Fri, Oct 4, 2013 at 12:19 AM, Piyus

Re: Classifying user and kernel pages

2013-10-20 Thread Piyus Kedia
The user pages are generally allocated using GFP_USER or GFP_HIGHMEM flags. The linux kernel treats GFP_USER and GFP_KERNEL as same. So, there is no way you can tell whether a physical page belongs to user process or not using physical frame number. Piyus On Fri, Oct 4, 2013 at 12:19 AM, Piyus

[no subject]

2013-10-20 Thread Piyus Kedia
unsubscribe linux-kernel -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[no subject]

2013-10-20 Thread Piyus Kedia
unsubscribe kvm -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Classifying user and kernel pages

2013-10-03 Thread Piyus Kedia
Hi All, Does anybody know if there is a way in Linux Kernel to find whether a physical page is a user page or it is kernel page. A kernel page is only accessed by kernel and it doesn't belong to any user process. Thanks, Piyus -- To unsubscribe from this list: send the line "unsubscribe

Classifying user and kernel pages

2013-10-03 Thread Piyus Kedia
Hi All, Does anybody know if there is a way in Linux Kernel to find whether a physical page is a user page or it is kernel page. A kernel page is only accessed by kernel and it doesn't belong to any user process. Thanks, Piyus -- To unsubscribe from this list: send the line unsubscribe

Re: Guest memory access within hypervisor Inbox x

2013-09-27 Thread Piyus Kedia
Thanks. On Fri, Sep 27, 2013 at 3:40 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Fri, Sep 27, 2013 at 03:19:28AM +0530, Piyus Kedia wrote: I am working on record replay in KVM. I just want to confirm that KVM doesn't access guest memory except for DMA. The functions kvm_read_guest_page

Guest memory access within hypervisor Inbox x

2013-09-26 Thread Piyus Kedia
if somebody else also confirm this. Thanks, Piyus Kedia -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Use of the PC value in interrupt/exception handlers

2013-08-02 Thread Piyus Kedia
Dear all, We are working on developing a dynamic binary translator for the kernel. Towards this, we wanted to confirm if the interrupted PC value pushed on stack by an interrupt/exception is used by the interrupt/exception handlers? For example, is the PC value compared against a fixed address to

Re: Use of the PC value in interrupt/exception handlers

2013-08-02 Thread Piyus Kedia
wrote: On Aug 2, 2013, at 4:43 AM, Martin Husemann mar...@duskware.de wrote: On Fri, Aug 02, 2013 at 10:46:31AM +, Piyus Kedia wrote: Dear all, We are working on developing a dynamic binary translator for the kernel. Towards this, we wanted to confirm if the interrupted PC value pushed

Re: Use of the PC value in interrupt/exception handlers

2013-08-02 Thread Piyus Kedia
Thanks. On Sat, Aug 3, 2013 at 1:44 AM, Matt Thomas m...@3am-software.com wrote: On Aug 2, 2013, at 9:41 AM, Piyus Kedia piyuske...@gmail.com wrote: Hi, I can see a system call sys_rasctl which install a RAS area. So I assume that the RAS PC's will be only user PC's

Use of the PC value in interrupt/exception handlers

2013-08-02 Thread Piyus Kedia
ear all, We are working on developing a dynamic binary translator for the kernel. Towards this, we wanted to confirm if the interrupted PC value pushed on stack by an interrupt/exception is used by the interrupt/exception handlers? For example, is the PC value compared against a fixed address to

Use of the PC value in interrupt/exception handlers

2013-08-02 Thread Piyus Kedia
Dear all, We are working on developing a dynamic binary translator for the kernel. Towards this, we wanted to confirm if the interrupted PC value pushed on stack by an interrupt/exception is used by the interrupt/exception handlers? For example, is the PC value compared against a fixed address to

Re: Use of the PC value in interrupt/exception handlers

2013-08-02 Thread Piyus Kedia
Dear All, In addition to previous mail we found that L4-microkernel checks the PC value on stack against some kernel PC in page fault handler by looking at the source code. Does anybody knows if there is more such cases? Thanks, Piyus On Fri, Aug 2, 2013 at 7:10 PM, Piyus Kedia piyuske

Fwd: Interrupt Handlers

2013-08-01 Thread Piyus Kedia
Hi All, I am working on dynamic binary translator. Please tell me if anybody know if in L4-microkernel interrupted kernel PC is ever used in interrupt handlers? Thanks and regards, Piyus ___ l4-hackers mailing list l4-hackers@os.inf.tu-dresden.de