dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dept: update documentation function names to match implementation
       [not found] <aTN38kJjBftxnjm9@archie.me>
@ 2026-04-28 16:26 ` Yunseong Kim
  2026-05-06  6:27   ` Byungchul Park
  0 siblings, 1 reply; 2+ messages in thread
From: Yunseong Kim @ 2026-04-28 16:26 UTC (permalink / raw)
  To: bagasdotme
  Cc: 2407018371, Dai.Ngo, Liam.Howlett, a.hindborg, ada.coupriediaz,
	adilger.kernel, akpm, alex.gaynor, alexander.shishkin, aliceryhl,
	amir73il, andi.shyti, andrii, anna, arnd, ast, baolin.wang,
	bigeasy, bjorn3_gh, boqun.feng, bp, brauner, broonie, bsegall,
	byungchul, catalin.marinas, chenhuacai, chris.p.wilson,
	christian.koenig, chuck.lever, cl, clrkwllms, corbet, da.gomez,
	dakr, damien.lemoal, dan.j.williams, daniel.vetter, dave.hansen,
	david, dennis, dietmar.eggemann, djwong, dri-devel, duyuyang,
	dwmw, francesco, frederic, gary, geert+renesas, geert, gregkh,
	guoweikang.kernel, gustavo, gwan-gyeong.mun, hamohammed.sa,
	hannes, harry.yoo, hch, her0gyugyu, hpa, jack, jglisse,
	jiangshanlai, jlayton, joel.granados, joel, joelagnelf,
	johannes.berg, josef, josh, jpoimboe, juri.lelli, kees,
	kernel-team, kernel_team, kevin.brodsky, kristina.martsenko,
	lillian, linaro-mm-sig, link, linux-arch, linux-arm-kernel,
	linux-block, linux-doc, linux-ext4, linux-fsdevel, linux-i2c,
	linux-ide, linux-kernel, linux-media, linux-mm, linux-modules,
	linux-nfs, linux-rt-devel, linux, longman, lorenzo.stoakes,
	lossin, luto, mark.rutland, masahiroy, mathieu.desnoyers,
	matthew.brost, max.byungchul.park, mcgrof, melissa.srw, mgorman,
	mhocko, miguel.ojeda.sandonis, minchan, mingo, mjguzik,
	neeraj.upadhyay, neil, neilb, netdev, ngupta, ojeda, okorniev,
	oleg, paulmck, penberg, peterz, petr.pavlu, qiang.zhang, rcu,
	richard.weiyang, rientjes, rodrigosiqueiramelo, rostedt, rppt,
	rust-for-linux, samitolvanen, sashal, shakeel.butt, sj,
	sumit.semwal, surenb, tglx, thomas.weissschuh, tim.c.chen, tj,
	tmgross, tom, torvalds, trondmy, tytso, urezki, usamaarif642,
	vbabka, vdavydov.dev, vincent.guittot, vschneid, wangfushuai,
	wangkefeng.wang, will, willy, wsa+renesas, x86, yeoreum.yun, ysk,
	yunseong.kim, yuzhao, ziy, Yunseong Kim

Synchronize function names in the documentation with the actual
implementation to fix naming inconsistencies.

Signed-off-by: Yunseong Kim <yunseong.kim@est.tech>
---
 Documentation/dev-tools/dept.rst     | 2 +-
 Documentation/dev-tools/dept_api.rst | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/dev-tools/dept.rst b/Documentation/dev-tools/dept.rst
index 333166464543..31b2fe629fab 100644
--- a/Documentation/dev-tools/dept.rst
+++ b/Documentation/dev-tools/dept.rst
@@ -97,7 +97,7 @@ No.  What about the following?
 
 			   mutex_lock A
    mutex_lock A <- DEADLOCK
-			   wait_for_complete B <- DEADLOCK
+			   wait_for_completion B <- DEADLOCK
    complete B
 			   mutex_unlock A
    mutex_unlock A
diff --git a/Documentation/dev-tools/dept_api.rst b/Documentation/dev-tools/dept_api.rst
index 409116a62849..74e7b1424ad5 100644
--- a/Documentation/dev-tools/dept_api.rst
+++ b/Documentation/dev-tools/dept_api.rst
@@ -113,7 +113,7 @@ Do not use these APIs directly.  The raw APIs of dept are:
    dept_stage_wait(map, key, ip, wait_func, time);
    dept_request_event_wait_commit();
    dept_clean_stage();
-   dept_stage_event(task, ip);
+   dept_ttwu_stage_wait(task, ip);
    dept_ecxt_enter(map, evt_flags, ip, ecxt_func, evt_func, sub_local);
    dept_ecxt_holding(map, evt_flags);
    dept_request_event(map, ext_wgen);
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] dept: update documentation function names to match implementation
  2026-04-28 16:26 ` [PATCH] dept: update documentation function names to match implementation Yunseong Kim
@ 2026-05-06  6:27   ` Byungchul Park
  0 siblings, 0 replies; 2+ messages in thread
From: Byungchul Park @ 2026-05-06  6:27 UTC (permalink / raw)
  To: Yunseong Kim
  Cc: bagasdotme, 2407018371, Dai.Ngo, Liam.Howlett, a.hindborg,
	ada.coupriediaz, adilger.kernel, akpm, alex.gaynor,
	alexander.shishkin, aliceryhl, amir73il, andi.shyti, andrii, anna,
	arnd, ast, baolin.wang, bigeasy, bjorn3_gh, boqun.feng, bp,
	brauner, broonie, bsegall, catalin.marinas, chenhuacai,
	chris.p.wilson, christian.koenig, chuck.lever, cl, clrkwllms,
	corbet, da.gomez, dakr, damien.lemoal, dan.j.williams,
	daniel.vetter, dave.hansen, david, dennis, dietmar.eggemann,
	djwong, dri-devel, duyuyang, dwmw, francesco, frederic, gary,
	geert+renesas, geert, gregkh, guoweikang.kernel, gustavo,
	gwan-gyeong.mun, hamohammed.sa, hannes, harry.yoo, hch,
	her0gyugyu, hpa, jack, jglisse, jiangshanlai, jlayton,
	joel.granados, joel, joelagnelf, johannes.berg, josef, josh,
	jpoimboe, juri.lelli, kees, kernel-team, kernel_team,
	kevin.brodsky, kristina.martsenko, lillian, linaro-mm-sig, link,
	linux-arch, linux-arm-kernel, linux-block, linux-doc, linux-ext4,
	linux-fsdevel, linux-i2c, linux-ide, linux-kernel, linux-media,
	linux-mm, linux-modules, linux-nfs, linux-rt-devel, linux,
	longman, lorenzo.stoakes, lossin, luto, mark.rutland, masahiroy,
	mathieu.desnoyers, matthew.brost, max.byungchul.park, mcgrof,
	melissa.srw, mgorman, mhocko, miguel.ojeda.sandonis, minchan,
	mingo, mjguzik, neeraj.upadhyay, neil, neilb, netdev, ngupta,
	ojeda, okorniev, oleg, paulmck, penberg, peterz, petr.pavlu,
	qiang.zhang, rcu, richard.weiyang, rientjes, rodrigosiqueiramelo,
	rostedt, rppt, rust-for-linux, samitolvanen, sashal, shakeel.butt,
	sj, sumit.semwal, surenb, tglx, thomas.weissschuh, tim.c.chen, tj,
	tmgross, tom, torvalds, trondmy, tytso, urezki, usamaarif642,
	vbabka, vdavydov.dev, vincent.guittot, vschneid, wangfushuai,
	wangkefeng.wang, will, willy, wsa+renesas, x86, yeoreum.yun, ysk,
	yunseong.kim, yuzhao, ziy

On Tue, Apr 28, 2026 at 06:26:15PM +0200, Yunseong Kim wrote:
> Synchronize function names in the documentation with the actual
> implementation to fix naming inconsistencies.

Good catch!  Thanks Yunseong.  I will apply it on the top.

	Byungchul

> Signed-off-by: Yunseong Kim <yunseong.kim@est.tech>
> ---
>  Documentation/dev-tools/dept.rst     | 2 +-
>  Documentation/dev-tools/dept_api.rst | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/dev-tools/dept.rst b/Documentation/dev-tools/dept.rst
> index 333166464543..31b2fe629fab 100644
> --- a/Documentation/dev-tools/dept.rst
> +++ b/Documentation/dev-tools/dept.rst
> @@ -97,7 +97,7 @@ No.  What about the following?
> 
>                            mutex_lock A
>     mutex_lock A <- DEADLOCK
> -                          wait_for_complete B <- DEADLOCK
> +                          wait_for_completion B <- DEADLOCK
>     complete B
>                            mutex_unlock A
>     mutex_unlock A
> diff --git a/Documentation/dev-tools/dept_api.rst b/Documentation/dev-tools/dept_api.rst
> index 409116a62849..74e7b1424ad5 100644
> --- a/Documentation/dev-tools/dept_api.rst
> +++ b/Documentation/dev-tools/dept_api.rst
> @@ -113,7 +113,7 @@ Do not use these APIs directly.  The raw APIs of dept are:
>     dept_stage_wait(map, key, ip, wait_func, time);
>     dept_request_event_wait_commit();
>     dept_clean_stage();
> -   dept_stage_event(task, ip);
> +   dept_ttwu_stage_wait(task, ip);
>     dept_ecxt_enter(map, evt_flags, ip, ecxt_func, evt_func, sub_local);
>     dept_ecxt_holding(map, evt_flags);
>     dept_request_event(map, ext_wgen);
> --
> 2.53.0

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-05-06  7:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <aTN38kJjBftxnjm9@archie.me>
2026-04-28 16:26 ` [PATCH] dept: update documentation function names to match implementation Yunseong Kim
2026-05-06  6:27   ` Byungchul Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox