{"id":277936,"date":"2023-07-19T04:05:36","date_gmt":"2023-07-18T20:05:36","guid":{"rendered":"https:\/\/lrxjmw.cn\/hnhjgzfxzdyy.html"},"modified":"2023-07-19T04:05:36","modified_gmt":"2023-07-18T20:05:36","slug":"hnhjgzfxzdyy","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/hnhjgzfxzdyy.html","title":{"rendered":"\u5b8f\u5185\u6838\u67b6\u6784\u5728\u5206\u6790\u4e2d\u7684\u5e94\u7528:\u6a21\u5757\u7ed3\u6784"},"content":{"rendered":"

\u5185\u6838\u6784\u67b6<\/p>\n

\u5728\u5256\u6790\u4e4b\u524d\u6211\u4eec\u5148\u660e\u6670\u8fd9\u4e2a\u5185\u6838\u6784\u67b6\u6982\u5ff5\uff0c\u64cd\u4f5c\u7cfb\u7edf<\/a>\u7684\u5185\u6838\u7ed3\u6784\u53ef\u4ee5\u5206\u4e3a\u4e09\u7c7b\uff1a<\/p>\n

\u6a21\u5757\u7ed3\u6784\uff0c\u4e5f\u79f0\u4f5c\u5355\u5185\u6838\u7ed3\u6784linux\u8fd0\u7ef4\u9762\u8bd5\u9898\uff0c\u6574\u4e2a\u7cfb\u7edf\u662f\u4e00\u4e2a\u5927\u6a21\u5757\uff0c\u800c\u53ef\u4ee5\u88ab\u754c\u5b9a\u4e3a\u51e0\u4e2a\u903b\u8f91\u4e0a\u7684\u6a21\u5757\u3002\u5305\u62ec\u5904\u7406\u5668\u7ba1\u7406\u3001\u5b58\u50a8\u5668\u7ba1\u7406\u3001\u6587\u4ef6\u7ba1\u7406\uff0c\u6a21\u5757\u4e4b\u95f4\u7684\u4ea4\u4e92\u901a\u8fc7\u76f4\u63a5\u8c03\u7528\u5176\u4ed6\u6a21\u5757\u7684\u51fd\u6570\u6765\u5b9e\u73b0\u5c42\u6b21\u7ed3\u6784\uff0c\u8fd9\u4e9b\u5185\u6838\u6784\u67b6\u662f\u628a\u64cd\u4f5c\u7cfb\u7edf\u754c\u5b9a\u4e3a\u5185\u6838\u548c\u82e5\u5e72\u4e2a\u6a21\u5757\u6216\u5219\u8fdb\u7a0b\uff0c\u8fd9\u79cd\u6a21\u5757\u6216\u5219\u8fdb\u7a0b\u88ab\u754c\u5b9a\u4e3a\u591a\u4e2a\u5c42\u6b21\uff0c\u5c42\u6b21\u4e4b\u95f4\u53ea\u80fd\u662f\u5355\u9879\u4f9d\u8d56\u6216\u5219\u53cc\u5411\u8c03\u7528\u7684\u5173\u7cfb\uff0c\u4e0d\u4f1a\u6784\u6210\u5faa\u73af\u8c03\u7528\uff08\u53ef\u4ee5\u7406\u89e3\u4e3a\u7c7b\u4f3c\u4e8e\u8ba1\u7b97\u673a\u7f51\u8def\u7684\u4e94\u4e2a\u5c42\u6b21\u7ed3\u6784\uff0c\u4ece\u9ad8\u5230\u4f4e\u662f\u5e94\u7528\u5c42\u3001\u4f20\u8f93\u5c42\u3001\u7f51\u7edc\u5c42\u3001\u6570\u636e\u94fe\u8def\u5c42\u3001\u7269\u7406\u5c42\uff09\u5fae\u5185\u6838\u7ed3\u6784\uff0c\u6838\u5fc3\u601d\u60f3\u662f\u5185\u6838\u53ea\u4fdd\u7559\u5c11\u91cf\u57fa\u672c\u529f\u80fd\uff0c\u800c\u5176\u4ed6\u6a21\u5757\u5206\u79bb\u4e0b\u6765\uff0c\u4e0d\u4e0e\u5979\u4eec\u8026\u5408\u3002\u5404\u4e2a\u6a21\u5757\u548c\u5fae\u5185\u6838\u4e4b\u95f4\u901a\u8fc7\u901a\u8baf\u673a\u5236\u8fdb\u884c\u4ea4\u4e92\uff0c\u56e0\u800c\u8fd0\u884c\u6548\u7387\u8f83\u4f4e\u3002[3]<\/p>\n

\u5185\u6838\u6784\u67b6\u540d<\/p>\n

\u6a21\u5757<\/p>\n

\u5fae\u5185\u6838<\/p>\n

\u4f18\u70b9<\/p>\n

\u64cd\u4f5c\u7cfb\u7edf\u7ed3\u6784\u8bbe\u8ba1_linux\u64cd\u4f5c\u7cfb\u7edf\u7ed3\u6784_\u64cd\u4f5c\u7cfb\u7edf\u7ed3\u6784\u5206\u6790<\/p>\n

\u7075\u6d3b\u6027\u597d\uff0c\u6548\u7387\u9ad8<\/p>\n

\u672a\u4f7f\u7528\u4e0d\u8fd0\u884c\uff0c\u964d\u4f4e\u663e\u5b58\u6d88\u8017\uff0c\u4fbf\u6377\u7b2c\u4e09\u65b9\u6269\u5145<\/p>\n

\u7f3a\u70b9<\/p>\n

\u9ad8\u8026\u5408<\/p>\n

\u6548\u7387\u4f4e<\/p>\n

Window\u7528\u7684\u4f55\u79cd\u5185\u6838\u6784\u67b6\uff1f<\/p>\n

Windows\u4f7f\u7528NT\u5185\u6838\uff0c\u800cNT\u5185\u6838\u662f\u4e00\u79cd\u5b8f\u5185\u6838linux\u5185\u5b58\u7ba1\u7406\uff0c\u53ef\u4ee5\u7406\u89e3\u4e3a\u662f\u6a21\u5757\u7ed3\u6784\u3002<\/p>\n

\u5b8f\u5185\u6838\u5b9a\u4e49\uff1a<\/p>\n

\u5b8f\u5185\u6838\u540c\u6837\u7ba1\u7406\u7740\u7528\u6237\u7a0b\u5e8f\u548c\u786c\u4ef6\u4e4b\u95f4\u7684\u7cfb\u7edf\u8d44\u6e90linux\u64cd\u4f5c\u7cfb\u7edf\u7ed3\u6784<\/strong>\uff0c\u5e76\u4e14\u548c\u5fae\u5185\u6838\u4e0d\u4e00\u6837\u7684\u662f\uff0c\u5728\u5b8f\u5185\u6838\u6784\u67b6\u4e2d\uff0c\u7528\u6237\u670d\u52a1\u548c\u5185\u6838\u670d\u52a1\u5728\u540c\u4e00\u7a7a\u95f4\u4e2d\u5b9e\u73b0\u3002\u5177\u4f53\u4e00\u70b9\uff0c\u5c31\u662f\u5185\u6838\u53ef\u4ee5\u4ee3\u8868\u5185\u6838\u8fdb\u7a0b\u8fd0\u884c\u4ee3\u7801\uff0c\u5c31\u662f\u4e00\u822c\u7684\u5185\u6838\u8fdb\u7a0b\uff1b\u5f53\u7528\u6237\u8fdb\u7a0b\u7ecf\u8fc7\u7cfb\u7edf\u8c03\u7528\u6216\u5219\u4e2d\u65ad\u6b65\u5165\u5230\u5185\u6838\u6001\u65f6\uff0c\u5185\u6838\u4e5f\u53ef\u4ee5\u4ee3\u8868\u5b83\u8fd0\u884c\u4ee3\u7801\u3002\u8fd9\u6837\u4e00\u6765\uff0c\u5b8f\u5185\u6838\u987b\u8981\u7ba1\u7406\u7684\u8d44\u6e90\u5c11\u4e8e\u5fae\u5185\u6838\uff0c\u5176\u5927\u5c0f\u5c31\u76f8\u5bf9\u5927\u4e00\u4e9b\u4e86\u3002<\/p>\n

\u5728\u5b8f\u5185\u6838\u6784\u67b6\u5f53\u4e2d\uff0c\u5185\u6838\u7ba1\u7406\u7740CPU\u8c03\u5ea6\uff0c\u663e\u5b58\u7ba1\u7406\uff0c\u6587\u4ef6\u7ba1\u7406\u548c\u7cfb\u7edf\u8c03\u7528\u7b49\u5404\u6a21\u5757\u7684\u7684\u5de5\u4f5c\uff0c\u56e0\u4e3a\u7528\u6237\u670d\u52a1\u548c\u5185\u6838\u670d\u52a1\u88ab\u5b9e\u73b0\u5728\u540c\u4e00\u7a7a\u95f4\u4e2d\uff0c\u8fd9\u6837\u5728\u6267\u884c\u901f\u7387\u4e0a\u8981\u6bd4\u5fae\u5185\u6838\u5feb\u3002\u4f46\u662f\uff0c\u5b8f\u5185\u6838\u7684\u52a3\u52bf\u4e5f\u662f\u663e\u800c\u6613\u89c1\u7684\uff0c\u90a3\u5c31\u662f\u5f53\u5185\u6838\u4e2d\u7684\u67d0\u4e2a\u670d\u52a1\u5d29\u6e83\u4e86\uff0c\u6574\u4e2a\u5185\u6838\u4e5f\u4f1a\u5d29\u6e83\u3002\u53e6\u4e00\u70b9\uff0c\u60f3\u8981\u5728\u5185\u6838\u4e2d\u6dfb\u52a0\u65b0\u7684\u529f\u80fd\u5c31\u610f\u5473\u7740\u5185\u6838\u4e2d\u7684\u5404\u4e2a\u6a21\u5757\u987b\u8981\u505a\u76f8\u5e94\u7684\u66f4\u6539\uff0c\u56e0\u800c\u5176\u6269\u5145\u6027\u5f88\u5f31\u3002<\/p>\n

\u5047\u5982\u4e00\u4e2a\u5185\u6838\uff0c\u53ea\u5728KernelMode\u6a21\u5f0f\u91cc\u653e\u7f6eIPC\uff08\u8fdb\u7a0b\u901a\u4fe1\uff09\uff0cMM\uff08\u663e\u5b58\u7ba1\u7406\uff09\uff0cScheduling\uff08\u8c03\u5ea6\uff09\u3002\u8fd9\u4e48\u5c31\u89c9\u5f97\u662f\u5fae\u5185\u6838\uff0c\u53cd\u4e4b\uff0c\u5047\u5982\u628a\u5176\u5b83\u7684\u4e1c\u897f\uff0c\u4f8b\u5982filesystem,VFS,devicedrivers\u653e\u5728KernelMode\uff0c\u8fd9\u4e48\u5c31\u89c9\u5f97\u662f\u5b8f\u5185\u6838\u3002\u7b80\u5355\u6765\u8bf4\uff0c\u5224\u5b9a\u4e00\u4e2a\u5185\u6838\u5c31\u662f\u770b\u5b83\u5728KernelMode\u4e2d\u8fd0\u884c\u4e86\u4ec0\u4e48\u4e1c\u897f\u3002<\/p>\n

WindowsNTislikeamicrokernelinthesensethatithasacoreKernel(KE)thatdoesverylittleandusestheExecutivelayer(Ex)toperformallthehigher-levelpolicy.NotethatEXisstillkernelmode,soit'snotatruemicrokernel.<\/p>\n

\u7ffb\u8bd1\u4e00\u4e0b\uff1aWindowsNT\u6709\u70b9\u50cf\u5fae\u5185\u6838\uff0c\u7531\u4e8e\u5b83\u4e0a\u9762\u7684CoreKernel\uff08\u7b80\u79f0KE\uff09\u53ea\u662f\u8d1f\u8d23\u6781\u5c11\u7684\u5de5\u4f5c\uff0c\u5176\u5b83\u7684\u4e8b\u5462\u90fd\u4ea4\u7ed9\u6267\u884c\u5c42\uff08\u7b80\u79f0Ex\uff09\u6765\u5b8c\u6210\u3002\u8981\u6307\u51fa\u4e00\u4e0b\uff0c\u7531\u4e8eEx\u662f\u5728KernelMode\u4e0b\u8fd0\u884c\u7684\uff0c\u6240\u4ee5WindowsNT\u4e0d\u662f\u4e00\u4e2a\u771f\u6b63\u7684\u5fae\u5185\u6838\u3002<\/p>\n

\u4e3a\u4e86\u4e0d\u8ba9\u7a0b\u5e8f\u4efb\u610f\u5b58\u53d6\u8d44\u6e90\uff0c\u5927\u90e8\u4efd\u7684CPU\u6784\u67b6\u90fd\u652f\u6301Kernelmode\u4e0eUsermode\u4e24\u79cd\u6267\u884c\u6a21\u5f0f\u3002\u5f53CPU\u8fd0\u884c\u4e8eKernelmode\u65f6\uff0c\u4efb\u52a1\u53ef\u4ee5\u6267\u884c\u7279\u6743\u7ea7\u6307\u4ee4\uff0c\u5bf9\u4efb\u4f55I\/O\u8bbe\u5907\u6709\u5168\u90e8\u7684\u8bbf\u95ee\u6743\uff0c\u8fd8\u80fd\u5426\u8bbf\u95ee\u4efb\u4f55\u865a\u62df\u5730\u5740\u548c\u63a7\u5236\u865a\u62df\u663e\u5b58\u786c\u4ef6\uff1b\u8fd9\u4e9b\u6a21\u5f0f\u5bf9\u5e94x86\u7684ring0\u5c42\uff0c\u64cd\u4f5c\u7cfb\u7edf\u7684\u6838\u5fc3\u90e8\u4efd\uff0c\u5305\u62ec\u8bbe\u5907\u9a71\u52a8\u7a0b\u5e8f\u90fd\u8fd0\u884c\u5728\u8be5\u6a21\u5f0f\u3002\u5f53CPU\u8fd0\u884c\u4e8eUserMode\u65f6\uff0c\u786c\u4ef6\u907f\u514d\u7279\u6743\u6307\u4ee4\u7684\u6267\u884c\uff0c\u5e76\u5bf9\u663e\u5b58\u548cI\/O\u7a7a\u95f4\u7684\u8bbf\u95ee\u64cd\u4f5c\u8fdb\u884c\u68c0\u6d4blinux\u64cd\u4f5c\u7cfb\u7edf\u7ed3\u6784<\/strong>\uff0c\u5047\u5982\u8fd0\u884c\u7684\u4ee3\u7801\u4e0d\u80fd\u901a\u8fc7\u64cd\u4f5c\u7cfb\u7edf\u7684\u67d0\u79cd\u95e8\u673a\u5236\uff0c\u5c31\u4e0d\u80fd\u6b65\u5165\u5185\u6838\u6a21\u5f0f\uff1b\u8fd9\u4e9b\u6a21\u5f0f\u5bf9\u5e94\u4e8ex86\u7684ring3\u5c42\uff0c\u64cd\u4f5c\u7cfb\u7edf\u7684\u7528\u6237\u63d2\u53e3\u90e8\u4efd\u4ee5\u53ca\u6240\u6709\u7684\u7528\u6237\u5e94\u7528\u7a0b\u5e8f\u90fd\u8fd0\u884c\u5728\u8be5\u7ea7\u522b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u5728\u5206\u6790\u4e4b\u524d\u6211\u4eec\u5148\u660e\u786e\u8fd9\u4e2a\u5185\u6838\u67b6\u6784\u6982\u5ff5\uff0c\u64cd\u4f5c\u7cfb\u7edf\u7684\u5185\u6838\u7ed3\u6784\u53ef\u4ee5\u5206\u4e3a\u4e09\u7c7b\uff1a\u6a21\u5757\u7ed3\u6784\uff0c\u4e5f\u53eb\u505a\u5355\u5185\u6838\u7ed3\u6784\uff0c\u6574\u4e2a\u7cfb\u7edf\u662f\u4e00\u4e2a\u5927\u6a21\u5757\uff0c\u800c\u53ef\u4ee5\u88ab\u5212\u5206\u4e3a\u51e0\u4e2a\u903b\u8f91\u4e0a\u7684\u6a21\u5757\u3002\u5b8f\u5185\u6838\u540c\u6837\u7ba1\u7406\u7740\u7528\u6237\u7a0b\u5e8f\u548c\u786c\u4ef6\u4e4b\u95f4\u7684\u7cfb\u7edf\u8d44\u6e90\uff0c\u4f46\u662f\u548c\u5fae\u5185\u6838\u4e0d\u4e00\u6837\u7684\u662f\uff0c\u5728\u5b8f\u5185\u6838\u67b6\u6784\u4e2d\uff0c\u7528\u6237\u670d\u52a1\u548c\u5185\u6838\u670d\u52a1\u5728\u540c\u4e00\u7a7a\u95f4\u4e2d\u5b9e\u73b0\u3002<\/p>\n","protected":false},"author":1,"featured_media":277937,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-277936","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-999"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/277936","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=277936"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/277936\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/277937"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=277936"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=277936"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=277936"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}