Commit Graph

3 Commits

Author SHA1 Message Date
Honglin Li db44c11cdd rue/mm: add priority reclaim support
Introduce the sync && async priority reclaim mechanism.

Signed-off-by: Yu Liu <allanyuliu@tencent.com>
Signed-off-by: Xiaoguang Chen <xiaoggchen@tencent.com>
Signed-off-by: Honglin Li <honglinli@tencent.com>
2024-09-27 11:13:30 +08:00
Honglin Li 55f6748cd1 rue/net: adapt to the new rue modular framework
Add to register and unregister rue net ops through
rue modular framework.

Signed-off-by: Honglin Li <honglinli@tencent.com>
Reviewed-by: Haisu Wang <haisuwang@tencent.com>
2024-09-27 11:13:30 +08:00
Ze Gao d5a175186d rue: Add support for rue modularization
Add framework support to enable rue to be installed as
a separate module.

In order to safely insmod/rmmod, we use per-cpu counter to
track how many rue related functions are on the fly, and
it's only safe to insmod/rmmod when there's no tasks using
any of these functions registered by rue module.

Signed-off-by: Ze Gao <zegao@tencent.com>
2024-09-27 11:13:29 +08:00