点击上方蓝色“Linux News搬运工”关注我们~Long-term get_user_pages() and truncate(): solved at last?By Jonathan CorbetRDMA等技术都需要能把文件映射到内存page里。现在还有一些persistent-memory设备也需要这样的功能,这样就能把文件内容直接映射到内存&am…
function getQueryString(key) {var reg new RegExp("(^|&)" key "([^&]*)(&|$)");var result window.location.search.substr(1).match(reg);return result ? decodeURIComponent(result[2]) : null;
}