[PATCH] Chinese: add translation of io_ordering.txt
From: Lin Yongting
Date: Wed Apr 16 2014 - 11:20:53 EST
This is a Chinese translated version of Documentation/io_ordering.txt
Signed-off-by: Lin Yongting <linyongting@xxxxxxxxx>
---
Documentation/zh_CN/io_ordering.txt | 67 +++++++++++++++++++++++++++++++++++
1 file changed, 67 insertions(+)
create mode 100644 Documentation/zh_CN/io_ordering.txt
diff --git a/Documentation/zh_CN/io_ordering.txt b/Documentation/zh_CN/io_ordering.txt
new file mode 100644
index 0000000..e592daf
--- /dev/null
+++ b/Documentation/zh_CN/io_ordering.txt
@@ -0,0 +1,67 @@
+Chinese translated version of Documentation/io_orderings.txt
+
+If you have any comment or update to the content, please contact the
+original document maintainer directly. However, if you have a problem
+communicating in English you can also ask the Chinese maintainer for
+help. Contact the Chinese maintainer if this translation is outdated
+or if there is a problem with the translation.
+
+Chinese maintainer: Lin Yongting <linyongting@xxxxxxxxx>
+---------------------------------------------------------------------
+Documentation/io_ordering.txt çäæçè
+
+åææèèæææææçååïèçæèçåææççæèãåæääçèæ
+äææåéçèïäåäåäæççæèæåãåææçèææäåææèç
+èååééïèèçäæççæèã
+
+äæççæèï ææå Lin Yongting <linyongting@xxxxxxxxx>
+äæççèèï ææå Lin Yongting <linyongting@xxxxxxxxx>
+äæçæèèï ææå Lin Yongting <linyongting@xxxxxxxxx>
+
+
+äääææ
+---------------------------------------------------------------------
+
+åæäååäïæèçååæåI/Oæåéåãåèäååäïéåååèæèä
+äèI/Oååæåååçåæäæçååæçéåèåèåãéåèåääâååâ
+èååååææåååïèåIOèçæåæåççåæäåèèååæåçèæäï
+èèåäèççãéåçåéååspinlockäæçäçåéåäåäçèçææã
+èäåääèåéçåæäåååéçåæääååèèåïèéåçääåå
+åéæäïmb()ïäèäéçäI/Oïã
+
+åèääèåéåççåääåï
+
+ ...
+CPU A: spin_lock_irqsave(&dev_lock, flags)
+CPU A: val = readl(my_status);
+CPU A: ...
+CPU A: writel(newval, ring_ptr);
+CPU A: spin_unlock_irqrestore(&dev_lock, flags)
+ ...
+CPU B: spin_lock_irqsave(&dev_lock, flags)
+CPU B: val = readl(my_status);
+CPU B: ...
+CPU B: writel(newval2, ring_ptr);
+CPU B: spin_unlock_irqrestore(&dev_lock, flags)
+ ...
+
+äèäåäïèååèäåææånewval2çåïçåææånewvalçåïééå
+åçäãäèååæéèäéæææäåï
+
+ ...
+CPU A: spin_lock_irqsave(&dev_lock, flags)
+CPU A: val = readl(my_status);
+CPU A: ...
+CPU A: writel(newval, ring_ptr);
+CPU A: (void)readl(safe_register); /* éçåååï*/
+CPU A: spin_unlock_irqrestore(&dev_lock, flags)
+ ...
+CPU B: spin_lock_irqsave(&dev_lock, flags)
+CPU B: val = readl(my_status);
+CPU B: ...
+CPU B: writel(newval2, ring_ptr);
+CPU B: (void)readl(safe_register); /* éçåååï*/
+CPU B: spin_unlock_irqrestore(&dev_lock, flags)
+
+åèåææäïèåsafe_registeråååïèåIOèçæåæåççåæäï
+ååçåéçèæäïéæååææääèééã
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/