首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往
您找到你想要的搜索结果了吗?
是的
没有找到

让Windows,Linux或OSX上的Chrome像ChromeOS一样运行Android Apps

Google在今年6 月 Google I/O 大会上宣布 Chromebook 将能够运行 Android 应用。近期已经公布了首批为Chrome OS进行了适配的四个第三方应用:Evernote、 Duolingo、Sight Words和Vine。 这个项目的名称是App Runtime for Chrome(目前还在Beta阶段),以后也必然会支持越来越多的应用。但是如果你暂时没有Chromebook,或者还想体验更多的手机/平板的App,这个项目也许可以帮到你:chromeos-apk! Yes!没错,如果你已经拥有一个Chromebook,使用它可以立即体验更多的Android App(APK).可以参看这里:https://github.com/vladikoff/chromeos-apk. 如果是PC,MAC上的chrome,就需要稍微多一点步骤:当然可以直接参看这里。

03

Per process reclaim

These day, there are many platforms avaiable in the embedded market and they are smarter than kernel which has very limited information about working set so they want to involve memory management more heavily like android's lowmemory killer and ashmem or recent many lowmemory notifier(there was several trial for various company NOKIA, SAMSUNG, Linaro, Google ChromeOS, Redhat). One of the simple imagine scenario about userspace's intelligence is thatplatform can manage tasks as forground and backgroud so it would be better to reclaim background's task pages for end-user's *responsibility* although it has frequent referenced pages. Minchan Kim provide these patches in 2013, Whihc adds new knob "reclaim under proc/<pid>/" so task managercan reclaim any target process anytime, anywhere. It could give another method to platform for using memory efficiently. It can avoid process killing for getting free memory, which was really terrible experience if these apps are killed by OOO killer. How it worksReclaim file-backed pages only. echo file > /proc/PID/reclaim Reclaim anonymous pages only. echo anon > /proc/PID/reclaim Reclaim all pages echo all > /proc/PID/reclaim Some pages could be shared by several processes. (ex, libc) In case of that, it's too bad to reclaim them from the beginnig. It can let VM keep them on memory until last task try to reclaim them so shared pages will be reclaimed only if all of task has gone swapping out. Another requirement is per address space reclaim.(By Michael Kerrisk) In case of Webkit1, it uses a address space for handling multi tabs. IOW, it uses *one* process model so all tabs shares address space of the process. In such scenario, per-process reclaim is rather coarse-grained and now supports more fine-grained reclaim for being able to reclaim target address range of the process. For reclaim target range, you should use following format. echo [addr] [size-byte] > /proc/pid/reclaim

02
领券