tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
What should the name of KPI which call softint_schedule with kpreempt_disable/enable be?
Hi,
I have fixed some softint_schedule() caller which can be called
while preempt enabled, that is, if_vmx.c:r1.51, ix_txrx.c:r1.56,
if_gre.c:r1.176, if_l2tp.c:r1.40, and if_tap.c:1.114.
There are several similar codes not only in network stack but also
USB stack(*1) and others(*2).
*1 https://nxr.netbsd.org/xref/src/sys/dev/usb/ucom.c#1257
https://nxr.netbsd.org/xref/src/sys/dev/usb/usb.c#1120
*2 https://nxr.netbsd.org/xref/src/sys/kern/kern_rndq.c#225
I think the codes should be a KPI. What should the KPI name be?
I think of
void softint_schedule_lwp(void *arg)
Could you comment this KPI name or other idea?
Thanks,
--
//////////////////////////////////////////////////////////////////////
Internet Initiative Japan Inc.
Device Engineering Section,
Product Development Department,
Product Division,
Technology Unit
Kengo NAKAHARA <k-nakahara%iij.ad.jp@localhost>
Home |
Main Index |
Thread Index |
Old Index