2023-12-08 |
Hou Tao | bpf: Add missed allocation hint for bpf_mem_cache_alloc_flags() Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-11-20 |
Hou Tao | bpf: Check map->usercnt after timer->timer is assigned Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-09-30 |
Hou Tao | bpf: Use kmalloc_size_roundup() to adjust size_index Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-09-15 |
Hou Tao | bpf: Skip unit_size checking for global per-cpu allocator Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-09-11 |
Hou Tao | selftests/bpf: Test all valid alloc sizes for bpf mem... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-09-11 |
Hou Tao | bpf: Ensure unit_size is matched with slab cache object... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-09-11 |
Hou Tao | bpf: Don't prefill for unused bpf_mem_cache Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-09-11 |
Hou Tao | bpf: Adjust size_index according to the value of KMALLOC_MIN... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-08-21 |
Hou Tao | bpf, cpumask: Clean up bpf_cpu_map_entry directly in... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-08-21 |
Hou Tao | bpf, cpumap: Use queue_rcu_work() to remove unnecessary... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-08-01 |
Hou Tao | bpf, devmap: Remove unused dtab field from bpf_dtab_netdev Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-08-01 |
Hou Tao | bpf, cpumap: Remove unused cmap field from bpf_cpu_map_entry Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-07-31 |
Hou Tao | bpf, cpumap: Handle skb as well when clean up ptr_ring Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-07-31 |
Hou Tao | bpf, cpumap: Make sure kthread is running before map... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-07-19 |
Hou Tao | virtio_pmem: add the missing REQ_OP_WRITE for flush bio Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-07-12 |
Hou Tao | bpf: Add object leak check. Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-07-06 |
Hou Tao | selftests/bpf: Add benchmark for bpf memory allocator Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-07-05 |
Hou Tao | bpf: Remove unnecessary ring buffer size check Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-06-19 |
Hou Tao | selftests/bpf: Set the default value of consumer_cnt... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-06-19 |
Hou Tao | selftests/bpf: Ensure that next_cpu() returns a valid... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-06-19 |
Hou Tao | selftests/bpf: Output the correct error code for pthread... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-06-19 |
Hou Tao | selftests/bpf: Use producer_cnt to allocate local counter... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-06-07 |
Hou Tao | blk-ioprio: Introduce promote-to-rt policy Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-06-06 |
Hou Tao | bpf: Factor out a common helper free_all() Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-02-22 |
Hou Tao | bpf: Only allocate one bpf_mem_cache for bpf_cpumask_ma Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-02-17 |
Hou Tao | dm ioctl: remove unnecessary check when using dm_get_mdptr() Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-02-15 |
Hou Tao | selftests/bpf: Add test case for element reuse in htab map Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-02-15 |
Hou Tao | bpf: Zeroing allocated object from slab in bpf memory... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-02-01 |
Hou Tao | md: use MD_RESYNC_* whenever possible Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-02-01 |
Hou Tao | md: don't update recovery_cp when curr_resync is ACTIVE Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-01-30 |
Hou Tao | fscache: Use clear_and_wake_up_bit() in fscache_create_volum... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-01-30 |
Hou Tao | fscache: Use wait_on_bit() to wait for the freeing... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2023-01-19 |
Hou Tao | bpf: Fix off-by-one error in bpf_mem_cache_idx() Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-12-19 |
Hou Tao | bpf: Define sock security related BTF IDs under CONFIG_SECUR... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-12-09 |
Hou Tao | bpf: Skip rcu_barrier() if rcu_trace_implies_rcu_gp... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-12-09 |
Hou Tao | bpf: Reuse freed element in free_by_rcu during allocation Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-12-07 |
Hou Tao | erofs: check the uniqueness of fsid in shared domain... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-11-21 |
Hou Tao | selftests/bpf: Add test for cgroup iterator on a dead... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-11-21 |
Hou Tao | selftests/bpf: Add cgroup helper remove_cgroup() Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-11-21 |
Hou Tao | bpf: Pin the start cgroup in cgroup_iter_seq_init() Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-11-17 |
Hou Tao | libbpf: Check the validity of size in user_ring_buffer__rese... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-11-17 |
Hou Tao | libbpf: Handle size overflow for user ringbuf mmap Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-11-17 |
Hou Tao | libbpf: Handle size overflow for ringbuf mmap Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-11-17 |
Hou Tao | libbpf: Use page size as max_entries when probing ring... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-11-17 |
Hou Tao | bpf: Pass map file to .map_update_batch directly Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-11-15 |
Hou Tao | bpf, perf: Use subprog name when reporting subprog... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-10-22 |
Hou Tao | bpf: Use __llist_del_all() whenever possbile during... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-10-22 |
Hou Tao | bpf: Wait for busy refill_work when destroying bpf... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-10-18 |
Hou Tao | bpf: Use rcu_trace_implies_rcu_gp() for program array... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-10-18 |
Hou Tao | bpf: Use rcu_trace_implies_rcu_gp() in local storage map Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-10-18 |
Hou Tao | bpf: Use rcu_trace_implies_rcu_gp() in bpf memory allocator Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-10-13 |
Hou Tao | selftests/bpf: Use sys_pidfd_open() helper when possible Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-09-22 |
Hou Tao | selftests/bpf: Free the allocated resources after test... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-09-22 |
Hou Tao | selftests/bpf: Destroy the skeleton when CONFIG_PREEMPT... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-09-22 |
Hou Tao | bpf: Always use raw spinlock for hash bucket lock Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-09-20 |
Hou Tao | bpf: Check whether or not node is NULL before free... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-09-19 |
Hou Tao | selftests/bpf: Add test result messages for test_task_storag... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-09-01 |
Hou Tao | bpf: Only add BTF IDs for socket security hooks when... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-09-01 |
Hou Tao | selftests/bpf: Test concurrent updates on bpf_task_storage_busy Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-09-01 |
Hou Tao | selftests/bpf: Move sys_pidfd_open() into task_local_storage... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-09-01 |
Hou Tao | bpf: Use this_cpu_{inc_return|dec} for prog->active Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-09-01 |
Hou Tao | bpf: Use this_cpu_{inc|dec|inc_return} for bpf_task_storage_busy Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-08-31 |
Hou Tao | selftests/bpf: Add test cases for htab update Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-08-31 |
Hou Tao | bpf: Propagate error from htab_lock_bucket() to userspace Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-08-31 |
Hou Tao | bpf: Disable preemption when increasing per-cpu map_locked Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-08-10 |
Hou Tao | selftests/bpf: Ensure sleepable program is rejected... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-08-10 |
Hou Tao | selftests/bpf: Add write tests for sk local storage... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-08-10 |
Hou Tao | selftests/bpf: Add tests for reading a dangling map... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-08-10 |
Hou Tao | bpf: Only allow sleepable program for resched-able... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-08-10 |
Hou Tao | bpf: Check the validity of max_rdwr_access for sock... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-08-10 |
Hou Tao | bpf: Acquire map uref in .init_seq_private for sock... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-08-10 |
Hou Tao | bpf: Acquire map uref in .init_seq_private for sock... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-08-10 |
Hou Tao | bpf: Acquire map uref in .init_seq_private for hash... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-08-10 |
Hou Tao | bpf: Acquire map uref in .init_seq_private for array... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-03-16 |
Hou Tao | selftests/bpf: Test subprog jit when toggle bpf_jit_harden... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-03-16 |
Hou Tao | bpf: Fix net.core.bpf_jit_harden race Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-03-16 |
Hou Tao | bpf, x86: Fall back to interpreter mode when extra... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-02-28 |
Hou Tao | bpf, selftests: Use raw_tp program for atomic test Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-02-28 |
Hou Tao | bpf, arm64: Support more atomic operations Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-02-28 |
Hou Tao | bpf, arm64: Feed byte-offset into bpf line info Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-02-28 |
Hou Tao | bpf, arm64: Call build_prologue() first in first JIT... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-02-22 |
Hou Tao | arm64: insn: add encoders for atomic operations Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-02-22 |
Hou Tao | arm64: move AARCH64_BREAK_FAULT into insn-def.h Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-02-15 |
Hou Tao | bpf: Reject kfunc calls that overflow insn->imm Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-02-08 |
Hou Tao | selftests/bpf: Do not export subtest as standalone... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-02-04 |
Hou Tao | bpf, arm64: Enable kfunc call Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-02-03 |
Hou Tao | bpf: Use VM_MAP instead of VM_ALLOC for ringbuf Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-01-27 |
Hou Tao | bpf, x86: Remove unnecessary handling of BPF_SUB atomic op Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2022-01-05 |
Hou Tao | bpf, arm64: Use emit_addr_mov_i64() for BPF_PSEUDO_FUNC Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2021-12-12 |
Hou Tao | selftests/bpf: Add test cases for bpf_strncmp() Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2021-12-12 |
Hou Tao | selftests/bpf: Add benchmark for bpf_strncmp() helper Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2021-12-12 |
Hou Tao | selftests/bpf: Fix checkpatch error on empty function... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2021-12-12 |
Hou Tao | bpf: Add bpf_strncmp helper Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2021-12-07 |
Hou Tao | nvme-multipath: set ana_log_size to 0 after free ana_log_buf Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2021-12-04 |
Hou Tao | bpf: Disallow BPF_LOG_KERNEL log level for bpf(BPF_BTF_LOAD) Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2021-12-01 |
Hou Tao | bpf: Clean-up bpf_verifier_vlog() for BPF_LOG_KERNEL... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2021-11-01 |
Hou Tao | selftests/bpf: Add test cases for struct_ops prog Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2021-11-01 |
Hou Tao | bpf: Add dummy BPF STRUCT_OPS for test purpose Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2021-11-01 |
Hou Tao | bpf: Factor out helpers for ctx access checking Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
2021-11-01 |
Hou Tao | bpf: Factor out a helper to prepare trampoline for... Signed-off-by: Hou Tao <houtao1@huawei.com>
|
commit | commitdiff | tree |
next |