{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/comnamu18/mfqNpalloc/pulls/1","id":193829414,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzODI5NDE0","html_url":"https://github.com/comnamu18/mfqNpalloc/pull/1","diff_url":"https://github.com/comnamu18/mfqNpalloc/pull/1.diff","patch_url":"https://github.com/comnamu18/mfqNpalloc/pull/1.patch","issue_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/issues/1","number":1,"state":"open","locked":false,"title":"buddy system case added","user":{"login":"seolking","id":11583951,"node_id":"MDQ6VXNlcjExNTgzOTUx","avatar_url":"https://avatars0.githubusercontent.com/u/11583951?v=4","gravatar_id":"","url":"https://api.github.com/users/seolking","html_url":"https://github.com/seolking","followers_url":"https://api.github.com/users/seolking/followers","following_url":"https://api.github.com/users/seolking/following{/other_user}","gists_url":"https://api.github.com/users/seolking/gists{/gist_id}","starred_url":"https://api.github.com/users/seolking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seolking/subscriptions","organizations_url":"https://api.github.com/users/seolking/orgs","repos_url":"https://api.github.com/users/seolking/repos","events_url":"https://api.github.com/users/seolking/events{/privacy}","received_events_url":"https://api.github.com/users/seolking/received_events","type":"User","site_admin":false},"body":"일단 확실히 완성된건 2^k-1 < 요청된 페이지 수 <= 2^k일때 할당하는 페이지 수를 2^k로 바꿔주는것\r\nfree할때도 마찬가지로 이 작업이 필요함. 페이지 수를 조작하는 건 palloc.c에 구현되어있음\r\n(count_page 함수 추가, palloc_get_multiple과 palloc_free_multiple에 count_page 함수 사용됨)\r\n\r\nbitmap.c에서는 요청된 페이지 크기에 따라 할당할 장소를 정하는데, First fit에서 약간 변형된 방식.\r\nFirst fit은 시작지점부터 끝까지 하나씩 건너가며 모든 경우에 대해서 보지만, 이 경우엔 요청된 페이지 크기 수만큼 건너가며 메모리 할당 가능여부를 확인한다. 요청된 페이지의 수가 32라면 0, 32, 64, 96 ... 이렇게 건너가며 비어있는 공간을 찾는 방식.","created_at":"2018-06-10T14:36:30Z","updated_at":"2018-06-10T14:36:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/pulls/1/commits","review_comments_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/pulls/1/comments","review_comment_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/issues/1/comments","statuses_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/statuses/7900c02a6053b0af88b26d7e7cf7e5bbf64aec49","head":{"label":"seolking:master","ref":"master","sha":"7900c02a6053b0af88b26d7e7cf7e5bbf64aec49","user":{"login":"seolking","id":11583951,"node_id":"MDQ6VXNlcjExNTgzOTUx","avatar_url":"https://avatars0.githubusercontent.com/u/11583951?v=4","gravatar_id":"","url":"https://api.github.com/users/seolking","html_url":"https://github.com/seolking","followers_url":"https://api.github.com/users/seolking/followers","following_url":"https://api.github.com/users/seolking/following{/other_user}","gists_url":"https://api.github.com/users/seolking/gists{/gist_id}","starred_url":"https://api.github.com/users/seolking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seolking/subscriptions","organizations_url":"https://api.github.com/users/seolking/orgs","repos_url":"https://api.github.com/users/seolking/repos","events_url":"https://api.github.com/users/seolking/events{/privacy}","received_events_url":"https://api.github.com/users/seolking/received_events","type":"User","site_admin":false},"repo":{"id":136815683,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY4MTU2ODM=","name":"mfqNpalloc","full_name":"seolking/mfqNpalloc","owner":{"login":"seolking","id":11583951,"node_id":"MDQ6VXNlcjExNTgzOTUx","avatar_url":"https://avatars0.githubusercontent.com/u/11583951?v=4","gravatar_id":"","url":"https://api.github.com/users/seolking","html_url":"https://github.com/seolking","followers_url":"https://api.github.com/users/seolking/followers","following_url":"https://api.github.com/users/seolking/following{/other_user}","gists_url":"https://api.github.com/users/seolking/gists{/gist_id}","starred_url":"https://api.github.com/users/seolking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seolking/subscriptions","organizations_url":"https://api.github.com/users/seolking/orgs","repos_url":"https://api.github.com/users/seolking/repos","events_url":"https://api.github.com/users/seolking/events{/privacy}","received_events_url":"https://api.github.com/users/seolking/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/seolking/mfqNpalloc","description":"using pintos make mfq and palloc","fork":true,"url":"https://api.github.com/repos/seolking/mfqNpalloc","forks_url":"https://api.github.com/repos/seolking/mfqNpalloc/forks","keys_url":"https://api.github.com/repos/seolking/mfqNpalloc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seolking/mfqNpalloc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seolking/mfqNpalloc/teams","hooks_url":"https://api.github.com/repos/seolking/mfqNpalloc/hooks","issue_events_url":"https://api.github.com/repos/seolking/mfqNpalloc/issues/events{/number}","events_url":"https://api.github.com/repos/seolking/mfqNpalloc/events","assignees_url":"https://api.github.com/repos/seolking/mfqNpalloc/assignees{/user}","branches_url":"https://api.github.com/repos/seolking/mfqNpalloc/branches{/branch}","tags_url":"https://api.github.com/repos/seolking/mfqNpalloc/tags","blobs_url":"https://api.github.com/repos/seolking/mfqNpalloc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seolking/mfqNpalloc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seolking/mfqNpalloc/git/refs{/sha}","trees_url":"https://api.github.com/repos/seolking/mfqNpalloc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seolking/mfqNpalloc/statuses/{sha}","languages_url":"https://api.github.com/repos/seolking/mfqNpalloc/languages","stargazers_url":"https://api.github.com/repos/seolking/mfqNpalloc/stargazers","contributors_url":"https://api.github.com/repos/seolking/mfqNpalloc/contributors","subscribers_url":"https://api.github.com/repos/seolking/mfqNpalloc/subscribers","subscription_url":"https://api.github.com/repos/seolking/mfqNpalloc/subscription","commits_url":"https://api.github.com/repos/seolking/mfqNpalloc/commits{/sha}","git_commits_url":"https://api.github.com/repos/seolking/mfqNpalloc/git/commits{/sha}","comments_url":"https://api.github.com/repos/seolking/mfqNpalloc/comments{/number}","issue_comment_url":"https://api.github.com/repos/seolking/mfqNpalloc/issues/comments{/number}","contents_url":"https://api.github.com/repos/seolking/mfqNpalloc/contents/{+path}","compare_url":"https://api.github.com/repos/seolking/mfqNpalloc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seolking/mfqNpalloc/merges","archive_url":"https://api.github.com/repos/seolking/mfqNpalloc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seolking/mfqNpalloc/downloads","issues_url":"https://api.github.com/repos/seolking/mfqNpalloc/issues{/number}","pulls_url":"https://api.github.com/repos/seolking/mfqNpalloc/pulls{/number}","milestones_url":"https://api.github.com/repos/seolking/mfqNpalloc/milestones{/number}","notifications_url":"https://api.github.com/repos/seolking/mfqNpalloc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seolking/mfqNpalloc/labels{/name}","releases_url":"https://api.github.com/repos/seolking/mfqNpalloc/releases{/id}","deployments_url":"https://api.github.com/repos/seolking/mfqNpalloc/deployments","created_at":"2018-06-10T14:26:20Z","updated_at":"2018-06-10T14:28:44Z","pushed_at":"2018-06-10T14:28:43Z","git_url":"git://github.com/seolking/mfqNpalloc.git","ssh_url":"git@github.com:seolking/mfqNpalloc.git","clone_url":"https://github.com/seolking/mfqNpalloc.git","svn_url":"https://github.com/seolking/mfqNpalloc","homepage":null,"size":256,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"comnamu18:master","ref":"master","sha":"52585322e48da9f57c4245fb4b0befa33d270726","user":{"login":"comnamu18","id":13430579,"node_id":"MDQ6VXNlcjEzNDMwNTc5","avatar_url":"https://avatars3.githubusercontent.com/u/13430579?v=4","gravatar_id":"","url":"https://api.github.com/users/comnamu18","html_url":"https://github.com/comnamu18","followers_url":"https://api.github.com/users/comnamu18/followers","following_url":"https://api.github.com/users/comnamu18/following{/other_user}","gists_url":"https://api.github.com/users/comnamu18/gists{/gist_id}","starred_url":"https://api.github.com/users/comnamu18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/comnamu18/subscriptions","organizations_url":"https://api.github.com/users/comnamu18/orgs","repos_url":"https://api.github.com/users/comnamu18/repos","events_url":"https://api.github.com/users/comnamu18/events{/privacy}","received_events_url":"https://api.github.com/users/comnamu18/received_events","type":"User","site_admin":false},"repo":{"id":136780340,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY3ODAzNDA=","name":"mfqNpalloc","full_name":"comnamu18/mfqNpalloc","owner":{"login":"comnamu18","id":13430579,"node_id":"MDQ6VXNlcjEzNDMwNTc5","avatar_url":"https://avatars3.githubusercontent.com/u/13430579?v=4","gravatar_id":"","url":"https://api.github.com/users/comnamu18","html_url":"https://github.com/comnamu18","followers_url":"https://api.github.com/users/comnamu18/followers","following_url":"https://api.github.com/users/comnamu18/following{/other_user}","gists_url":"https://api.github.com/users/comnamu18/gists{/gist_id}","starred_url":"https://api.github.com/users/comnamu18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/comnamu18/subscriptions","organizations_url":"https://api.github.com/users/comnamu18/orgs","repos_url":"https://api.github.com/users/comnamu18/repos","events_url":"https://api.github.com/users/comnamu18/events{/privacy}","received_events_url":"https://api.github.com/users/comnamu18/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/comnamu18/mfqNpalloc","description":"using pintos make mfq and palloc","fork":false,"url":"https://api.github.com/repos/comnamu18/mfqNpalloc","forks_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/forks","keys_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/teams","hooks_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/hooks","issue_events_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/issues/events{/number}","events_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/events","assignees_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/assignees{/user}","branches_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/branches{/branch}","tags_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/tags","blobs_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/git/refs{/sha}","trees_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/statuses/{sha}","languages_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/languages","stargazers_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/stargazers","contributors_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/contributors","subscribers_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/subscribers","subscription_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/subscription","commits_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/commits{/sha}","git_commits_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/git/commits{/sha}","comments_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/comments{/number}","issue_comment_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/issues/comments{/number}","contents_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/contents/{+path}","compare_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/merges","archive_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/downloads","issues_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/issues{/number}","pulls_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/pulls{/number}","milestones_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/milestones{/number}","notifications_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/labels{/name}","releases_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/releases{/id}","deployments_url":"https://api.github.com/repos/comnamu18/mfqNpalloc/deployments","created_at":"2018-06-10T04:56:41Z","updated_at":"2018-06-10T11:59:19Z","pushed_at":"2018-06-10T11:59:18Z","git_url":"git://github.com/comnamu18/mfqNpalloc.git","ssh_url":"git@github.com:comnamu18/mfqNpalloc.git","clone_url":"https://github.com/comnamu18/mfqNpalloc.git","svn_url":"https://github.com/comnamu18/mfqNpalloc","homepage":null,"size":256,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/comnamu18/mfqNpalloc/pulls/1"},"html":{"href":"https://github.com/comnamu18/mfqNpalloc/pull/1"},"issue":{"href":"https://api.github.com/repos/comnamu18/mfqNpalloc/issues/1"},"comments":{"href":"https://api.github.com/repos/comnamu18/mfqNpalloc/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/comnamu18/mfqNpalloc/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/comnamu18/mfqNpalloc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/comnamu18/mfqNpalloc/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/comnamu18/mfqNpalloc/statuses/7900c02a6053b0af88b26d7e7cf7e5bbf64aec49"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":41,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"seolking"}}