Documentation/aoe/todo.txt
2013-11-05 13:33
274 查看
Ifyouhaveanycommentorupdatetothecontent,pleasecontactthe
originaldocumentmaintainerdirectly.However,ifyouhaveaproblem
communicatinginEnglishyoucanalsoasktheChinesemaintainerfor
help.ContacttheChinesemaintainerifthistranslationisoutdated
orifthereisaproblemwiththetranslation.
Chinesemaintainer:沈芳丽<fairyshen@163.com>
---------------------------------------------------------------------
Documentation/aoe/todo.txt的中文翻译
如果想评论或更新本文的内容,请直接联系原文档的维护者。如果你使用英文
交流有困难的话,也可以向中文版维护者求助。如果本翻译更新不及时或者翻
译存在问题,请联系中文版维护者。
中文版维护者:沈芳丽<fairyshen@163.com>
中文版翻译者:沈芳丽<fairyshen@163.com>
中文版校译者:沈芳丽<fairyshen@163.com>
以下为正文
除了前几个sk_buff,其他所有的都通过内存池分配,并且通过注册析构
函数,我们应该能够有效地分配sk_buffs而不引入任何潜在的死锁。
originaldocumentmaintainerdirectly.However,ifyouhaveaproblem
communicatinginEnglishyoucanalsoasktheChinesemaintainerfor
help.ContacttheChinesemaintainerifthistranslationisoutdated
orifthereisaproblemwiththetranslation.
Chinesemaintainer:沈芳丽<
---------------------------------------------------------------------
Documentation/aoe/todo.txt的中文翻译
如果想评论或更新本文的内容,请直接联系原文档的维护者。如果你使用英文
交流有困难的话,也可以向中文版维护者求助。如果本翻译更新不及时或者翻
译存在问题,请联系中文版维护者。
中文版维护者:沈芳丽<
中文版翻译者:沈芳丽<
中文版校译者:沈芳丽<
以下为正文
Thereisapotentialfordeadlockwhenallocatingastructsk_bufffordata
thatneedstobewrittenouttoaoestorage.
分配一个需要写入AOE存储数据的structsk_buff时,有一个潜在的死锁。
Ifthedataisbeingwrittenfromadirtypageinordertofreethatpage,andif
therearenootherpagesavailable,thendeadlockmayoccurwhenafreepage
isneededforthesk_buffallocation.
如果数据被写入脏页,以便释放该页面,如果没有其他页面,那么当需要一个
空闲页来分配sk_buff时可能会发生死锁情况。
Thissituationhasnotbeenobserved,butitwouldbenicetoeliminateany
potentialfordeadlockundermemorypressure.
这种情况还未被觉察到,但它有利于在内存压力下消除任何潜在的死锁。
BecauseATAoverEthernetisnotfragmentedbythekernel'sIPcode,
thedestructormemberofthestructsk_buffisavailabletotheaoe
driver.
由于以太网ATA内核的IP代码没有碎片,所以由析构函数的结构成员sk_buff
提供aoe驱动程序。
Byusingamempoolforallocatingallbutthefirstfewsk_buffs,andby
registeringadestructor,weshouldbeabletoefficientlyallocate
sk_buffswithoutintroducinganypotentialfordeadlock.
除了前几个sk_buff,其他所有的都通过内存池分配,并且通过注册析构
函数,我们应该能够有效地分配sk_buffs而不引入任何潜在的死锁。
相关文章推荐
- Documentation/PCI/pci-iov-howto.txt
- Documentation/aoe/udev.txt
- Documentation_timers_timers-howto.txt
- leetcode -- Permutations II TODO
- like to do vs like doing
- How do I find which phpize to use?
- Android studio TODO 管理未完成或测试代码,添加提醒
- How to do research?
- begin to do
- 关于“This file has been modified outside of the source editor. Do you want to reload it?”错误的处理
- todo list for c++
- How to do one-to-many video broadcast?
- To do list in my lifetime
- How To Use XDOLoader to Manage, Download and Upload Files? (文档 ID 469585.1)
- How do I fix the linker error in project upgraded from VS2010 to VS2013 where the linker is looking
- JQuery DOM HighLighter (it's a basic "Inspect element" simple implementation to mimic what webkit inspector and firebug do)
- openssl TXT_DB error number 二 failed to update database
- how to do research
- Running Knoppix 6.7.1 in a Sandisk Ultra flash drive to do GAE programming via PyCharm
- What to do with "ORA-60 Deadlock Detected" Errors [ID 62365.1](oracle deadlock 学习资料-05.1)