All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] docs/memory-barriers.txt/kokr: smp_mb__{before,after}_atomic(): update Documentation
@ 2020-06-06  8:37 SeongJae Park
  2020-06-08 15:42 ` Jonathan Corbet
  0 siblings, 1 reply; 2+ messages in thread
From: SeongJae Park @ 2020-06-06  8:37 UTC (permalink / raw)
  To: paulmck, corbet; +Cc: linux-doc, linux-kernel, SeongJae Park

Translate this commit to Korean:

  39323c64b8a9 ("smp_mb__{before,after}_atomic(): update Documentation")

Signed-off-by: SeongJae Park <sjpark@amazon.de>
Reviewed-by: Yunjae Lee <lyj7694@gmail.com>
---
 .../translations/ko_KR/memory-barriers.txt        | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/Documentation/translations/ko_KR/memory-barriers.txt b/Documentation/translations/ko_KR/memory-barriers.txt
index 2e831ece6e26..b74c32d7c584 100644
--- a/Documentation/translations/ko_KR/memory-barriers.txt
+++ b/Documentation/translations/ko_KR/memory-barriers.txt
@@ -1842,12 +1842,15 @@ Mandatory 배리어들은 SMP 시스템에서도 UP 시스템에서도 SMP 효
  (*) smp_mb__before_atomic();
  (*) smp_mb__after_atomic();
 
-     이것들은 값을 리턴하지 않는 (더하기, 빼기, 증가, 감소와 같은) 어토믹
-     함수들을 위한, 특히 그것들이 레퍼런스 카운팅에 사용될 때를 위한
-     함수들입니다.  이 함수들은 메모리 배리어를 내포하고 있지는 않습니다.
-
-     이것들은 값을 리턴하지 않으며 어토믹한 (set_bit 과 clear_bit 같은) 비트
-     연산에도 사용될 수 있습니다.
+     이것들은 메모리 배리어를 내포하지 않는 어토믹 RMW 함수를 사용하지만 코드에
+     메모리 배리어가 필요한 경우를 위한 것들입니다.  메모리 배리어를 내포하지
+     않는 어토믹 RMW 함수들의 예로는 더하기, 빼기, (실패한) 조건적
+     오퍼레이션들, _relaxed 함수들이 있으며, atomic_read 나 atomic_set 은 이에
+     해당되지 않습니다.  메모리 배리어가 필요해지는 흔한 예로는 어토믹
+     오퍼레이션을 사용해 레퍼런스 카운트를 수정하는 경우를 들 수 있습니다.
+
+     이것들은 또한 (set_bit 과 clear_bit 같은) 메모리 배리어를 내포하지 않는
+     어토믹 RMW bitop 함수들을 위해서도 사용될 수 있습니다.
 
      한 예로, 객체 하나를 무효한 것으로 표시하고 그 객체의 레퍼런스 카운트를
      감소시키는 다음 코드를 보세요:
-- 
2.17.1


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

* Re: [PATCH] docs/memory-barriers.txt/kokr: smp_mb__{before,after}_atomic(): update Documentation
  2020-06-06  8:37 [PATCH] docs/memory-barriers.txt/kokr: smp_mb__{before,after}_atomic(): update Documentation SeongJae Park
@ 2020-06-08 15:42 ` Jonathan Corbet
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2020-06-08 15:42 UTC (permalink / raw)
  To: SeongJae Park; +Cc: paulmck, linux-doc, linux-kernel, SeongJae Park

On Sat,  6 Jun 2020 10:37:46 +0200
SeongJae Park <sj38.park@gmail.com> wrote:

> Translate this commit to Korean:
> 
>   39323c64b8a9 ("smp_mb__{before,after}_atomic(): update Documentation")
> 
> Signed-off-by: SeongJae Park <sjpark@amazon.de>
> Reviewed-by: Yunjae Lee <lyj7694@gmail.com>

Applied, thanks.

jon

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

end of thread, other threads:[~2020-06-08 15:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-06  8:37 [PATCH] docs/memory-barriers.txt/kokr: smp_mb__{before,after}_atomic(): update Documentation SeongJae Park
2020-06-08 15:42 ` Jonathan Corbet

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.