lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220115082924.4123401-1-foxhoundsk.tw@gmail.com>
Date:   Sat, 15 Jan 2022 16:29:24 +0800
From:   Huichun Feng <foxhoundsk.tw@...il.com>
To:     guro@...com
Cc:     bpf@...r.kernel.org, linux-kernel@...r.kernel.org,
        mgorman@...hsingularity.net, mingo@...hat.com, peterz@...radead.org
Subject: Re: [PATCH rfc 0/6] Scheduler BPF

Hi Roman and the list,

I have a naive question regarding BPF hook for sched.

Given that BPF can also be attached to tracepoint, why do we add a BPF prog
type specific to sched?

The reason I can come up with is that sched BPF can have retval to drive the
scheduling decision in static branch, whereas tracepoint is not able to do this.
Is it mainly because of this or anything else?


Thanks
Huichun

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ