Git Product home page Git Product logo

sjtu-cs356-project2's Introduction

SJTU-cs356-project2

Operating system project 2(Fan Wu 2017 Spring): Android Memory Managment.

./CS356-Project2.pdf        

project2 slides.

./CS356prj2.pdf

project2 doc.

Problem 1:

nothing to submit.

Problem 2:

./problem2/pgtbcall.c

Two system calls module source code.

./problem2/Makefile

The makefile to compile the module.

./problem2/VATranslate/jni/VATranslate.c

The test program VATranslate's source code.

./problem2/VATranslate/jni/Android.mk

The android makefile of the test program VATranslate.

./problem2/kernelFile/pagewalk.c

Modified kernel file(goldfish/mm/pagewalk.c). Add '#include <linux/export.h>' in Line1, add 'EXPORT_SYMBOL(walk_page_range);' in Line252.

./problem2/kernelFile/mm.h

Modified kernel file(goldfish/include/linux/mm.h). Add 'extern' before previous Line945.

Problem 3:

./problem3/jni/vm_inspector.c

The program vm_inspector's source code.

./problem3/jni/Android.mk

The android makefile of the vm_inspector program.

Problem 4:

./problem4/mm_types.h

Modified kernel file(goldfish//include/linux/mm_types.h). Add a variable to page struct.

./problem4/swap.c

Modified kernel file(goldfish/mm/swap.c). Change the definition of function 'void mark_page_accessed(struct page *page)'.

./problem4/vmscan.c

Modified kernel file(goldfish/mm/vmscan.c). Change the definition of function 'shrink_active_list' and function 'page_check_references'.

Report:

./report.pdf

./report/*

report latex file and some resourses.

sjtu-cs356-project2's People

Contributors

yelantf avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.