Re: [PATCH V2 2/2] mm/migration: Add trace events for base page and HugeTLB migrations

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

 



On Tue, 25 Jan 2022 13:28:49 +0000
Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote:

> On Tue, Jan 25, 2022 at 08:38:25AM +0530, Anshuman Khandual wrote:
> > +		TP_printk("addr=%lx, pte=%lx order=%d", __entry->addr, __entry->pte, __entry->order)  
> 
> In these days of increasingly advanced Rowhammer attacks, is it wise
> to let userspace know exactly which physical addresses are being
> used for virtual addresses?

Is it an issue if this is only available for privileged users?

With tracing, you can just create a kprobe to get the same information for
you as well, so this isn't giving a user anything they do not already have.

-- Steve




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux