Return-Path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672078620; bh=m+H7eqfNBE9aSNVeN/y9sb85jCpjZ/w1uGtIW7Ivjp8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GMPdJz+tNPj8kTKq/4IVI+ItukMb4PDCR7eKFFIm+JuRzazTQR5b7pFZIEVt79yux /WjtVhZ9zH0q6w2WJH2AsgkznwJoZw1wublesa2RaTMelrVX24cINoHfvoBJALbrQF WgKwMIwirN7hqKhi+9JNDG9RHLYkhFNq0k2l0aDO09XBLD2zMd8msWbThScrq7Awku G0jpBha2l+pLETYaF9kURDXu76NBzvmo6ec+LCFnqW9oA93buctuUSrFr2i0nQIvRe OKwYLLsRKQ0+YTtY2mflkvjMfX7VUzztlmLNVZoeCkB2U7okoEgXwJzC/2yCPfVZAw TFVf8iCZleGpg== From: SeongJae Park Subject: [PATCH 4/4] datastruct: Put \cref{} content in a single line Date: Mon, 26 Dec 2022 10:16:34 -0800 Message-Id: <20221226181639.10795-5-sj@kernel.org> In-Reply-To: <20221226181639.10795-1-sj@kernel.org> References: <20221226181639.10795-1-sj@kernel.org> To: paulmck@kernel.org Cc: perfbook@vger.kernel.org, SeongJae Park List-ID: From: SeongJae Park Every \cref{} content is in a single line and it helps grep-like scripting. However two \cref{}s are broken into two lines. Make those single lines for consistency and easier grep. Signed-off-by: SeongJae Park --- datastruct/datastruct.tex | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/datastruct/datastruct.tex b/datastruct/datastruct.tex index 9dffaf37..4c7f9fe2 100644 --- a/datastruct/datastruct.tex +++ b/datastruct/datastruct.tex @@ -1551,8 +1551,7 @@ and \clnref{acq_oldcur} acquires that bucket's spinlock. \co{hashtab_del()} functions must be enclosed in RCU read-side critical sections, courtesy of \co{hashtab_lock_mod()} and \co{hashtab_unlock_mod()} in - \cref{lst:datastruct:Resizable Hash-Table Update-Side Concurrency - Control}. + \cref{lst:datastruct:Resizable Hash-Table Update-Side Concurrency Control}. \end{fcvref} }\QuickQuizEnd @@ -1584,8 +1583,7 @@ the old hash table, and finally \clnref{ret_success} returns success. \begin{fcvref}[ln:datastruct:hash_resize:lock_unlock_mod] Together with the \co{READ_ONCE()} on \clnref{l:ifresized} in \co{hashtab_lock_mod()} - of \cref{lst:datastruct:Resizable Hash-Table Update-Side - Concurrency Control}, + of \cref{lst:datastruct:Resizable Hash-Table Update-Side Concurrency Control}, it tells the compiler that the non-initialization accesses to \co{->ht_resize_cur} must remain because reads from \co{->ht_resize_cur} really can race with writes, -- 2.17.1