Re: [PATCH 01/12] uprobes: split THPs before trying replace them

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

 



On Tue, Jan 24, 2017 at 01:28:49PM -0800, Andrew Morton wrote:
> On Tue, 24 Jan 2017 19:28:13 +0300 "Kirill A. Shutemov" <kirill.shutemov@xxxxxxxxxxxxxxx> wrote:
> 
> > For THPs page_check_address() always fails. It's better to split them
> > first before trying to replace.
> 
> So what does this mean.  uprobes simply fails to work when trying to
> place a probe into a THP memory region?

Looks like we can end up with endless retry loop in uprobe_write_opcode().

> How come nobody noticed (and reported) this when using the feature?

I guess it's not often used for anon memory.

-- 
 Kirill A. Shutemov

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[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