混合核心

维基百科,自由的百科全书
跳转至: 导航搜索

混合核心英语Hybrid kernel),又譯為混合式核心、混合內核,一種作業系統內核架構,結合整塊性核心單核心兩種設計方法。這個分類方式,在設計上,以單核心架構來設計作業系統核心,但在實作上則採用整塊性核心的作法。最有名的混合核心為Windows NT核心與XNU

林纳斯·托瓦兹認為這種分類只是一種市場行銷手法,因為它的架構實作方式接近於整塊性核心[1]

批評[编辑]

林纳斯·托瓦兹認為,採用可載入核心模組不代表這個作業系統就是一種混合核心,如果模組跟內核使用同樣的定址空間,能夠存取內核的資料結果,這種實作方式就是整塊性核心[2]

註釋[编辑]

  1. ^

    As to the whole "hybrid kernel" thing - it's just marketing. It's "Oh, those microkernels had good PR, how can we try to get good PR for our working kernel? Oh, I know, let's use a cool name and try to imply that it has all the PR advantages that that other system has."

  2. ^

    The article goes to say that a hybrid kernel like NT's is not to be confused with a with monolithic kernels that can load modules like Linux. Again, this seems like nonsense to me - the stable driver ABI (and the closed source) has facilitated creating of many drivers outside of the NT kernel tree, but this is not a conceptual difference. The precise technique of loading a driver/module into the kernel doesn't really matter, if the driver shares the same address space and can have access to kernel structures.