Re: [PATCH] mm,thp,shmem: limit shmem THP alloc gfp_mask

2020-10-22 Thread Yu Xu
On 10/22/20 11:48 AM, Rik van Riel wrote: The allocation flags of anonymous transparent huge pages can be controlled through the files in /sys/kernel/mm/transparent_hugepage/defrag, which can help the system from getting bogged down in the page reclaim and compaction code when many THPs are

Re: [PATCH] bpf: do not restore dst_reg when cur_state is freed

2019-03-21 Thread Yu Xu
On 3/21/19 4:50 PM, Daniel Borkmann wrote: On 03/21/2019 09:31 AM, Xu Yu wrote: Syzkaller hit 'KASAN: use-after-free Write in sanitize_ptr_alu' bug. Call trace: dump_stack+0xbf/0x12e print_address_description+0x6a/0x280 kasan_report+0x237/0x360 sanitize_ptr_alu+0x85a/0x8d0