Dataset Viewer
Auto-converted to Parquet Duplicate
repo
stringclasses
1 value
pull_number
int64
183
1.37k
instance_id
stringlengths
24
25
issue_numbers
sequencelengths
1
1
base_commit
stringlengths
40
40
patch
stringlengths
1.17k
285k
test_patch
stringlengths
600
27.2k
problem_statement
stringlengths
100
10.3k
hints_text
stringclasses
7 values
created_at
stringlengths
20
20
version
stringclasses
7 values
environment_setup_commit
stringclasses
7 values
asterinas/asterinas
1,369
asterinas__asterinas-1369
[ "919" ]
ae4ac384713e63232b74915593ebdef680049d31
diff --git a/kernel/src/vm/vmar/mod.rs b/kernel/src/vm/vmar/mod.rs index f691a40453..4cdd850def 100644 --- a/kernel/src/vm/vmar/mod.rs +++ b/kernel/src/vm/vmar/mod.rs @@ -16,7 +16,7 @@ use align_ext::AlignExt; use aster_rights::Rights; use ostd::{ cpu::CpuExceptionInfo, - mm::{VmSpace, MAX_USERSPACE_VADDR}, +...
diff --git a/ostd/src/mm/page_table/test.rs b/ostd/src/mm/page_table/test.rs index 834289a910..6acb5bc22b 100644 --- a/ostd/src/mm/page_table/test.rs +++ b/ostd/src/mm/page_table/test.rs @@ -81,6 +81,10 @@ fn test_untracked_map_unmap() { #[ktest] fn test_user_copy_on_write() { + fn prot_op(prop: &mut PagePropert...
[RFC] Safety model about the page tables # Background This issue discusses the internal APIs of the page table. More specifically, the following two sets of APIs: - The APIs provided by `RawPageTableNode`/`PageTableNode` - Files: [`framework/aster-frame/src/mm/page_table/node.rs`](https://github.com/asterinas/...
I've already checked out your PR #918 addressing issues raised in this RFC, and find it convincing. To sum up, the current inner API designs do have the 2 following major weaknesses: - The "tracked" and "untracked" ranges are all managed by the page table, but the node is agnostic to it to some extent; - The s...
2024-09-23T14:17:42Z
0.8
ae4ac384713e63232b74915593ebdef680049d31
asterinas/asterinas
1,362
asterinas__asterinas-1362
[ "964" ]
f7932595125a0bba8230b5f8d3b110c687d6f3b2
diff --git a/Makefile b/Makefile index 55e0f3885f..b820be36b7 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,14 @@ # SPDX-License-Identifier: MPL-2.0 -# Global options. +# =========================== Makefile options. =============================== + +# Global build options. ARCH ?= x86_64 BENCHMARK ?= none BO...
diff --git a/osdk/tests/commands/run.rs b/osdk/tests/commands/run.rs index 693f68e9cc..716286abf0 100644 --- a/osdk/tests/commands/run.rs +++ b/osdk/tests/commands/run.rs @@ -79,7 +79,11 @@ mod qemu_gdb_feature { path.to_string_lossy().to_string() }; - let mut instance = cargo_osdk(["run"...
[Perf Guide] Flame graph scripts on Asterinas [Flame graph](https://github.com/brendangregg/FlameGraph) is a well known and powerful tool for performance (bottoleneck) analysis. It's based on sampling. If you inspect the call stack 100 times per second, the function that appears more often, would like to consume more t...
2024-09-21T13:48:03Z
0.8
ae4ac384713e63232b74915593ebdef680049d31
asterinas/asterinas
1,328
asterinas__asterinas-1328
[ "1244" ]
42e28763c59202486af4298d5305e5c5e5ab9b54
diff --git a/kernel/src/lib.rs b/kernel/src/lib.rs index c8f1e1bb7c..42390338cb 100644 --- a/kernel/src/lib.rs +++ b/kernel/src/lib.rs @@ -133,10 +133,7 @@ fn ap_init() -> ! { } fn init_thread() { - println!( - "[kernel] Spawn init thread, tid = {}", - current_thread!().tid() - ); + println!(...
diff --git a/osdk/tests/examples_in_book/write_a_kernel_in_100_lines_templates/lib.rs b/osdk/tests/examples_in_book/write_a_kernel_in_100_lines_templates/lib.rs index 23618110b8..7c7c9f4348 100644 --- a/osdk/tests/examples_in_book/write_a_kernel_in_100_lines_templates/lib.rs +++ b/osdk/tests/examples_in_book/write_a_ke...
Reachable unwrap panic in `read_clock()` ### Describe the bug There is a reachable unwrap panic in `read_clock()` at kernel/src/syscall/clock_gettime.rs:141 when make a `clock_gettime` syscall with specific argument. https://github.com/asterinas/asterinas/blob/aa77747f94c4b1cb1237ba52414642827a6efc25/kernel/src/sys...
2024-09-12T06:03:09Z
0.8
ae4ac384713e63232b74915593ebdef680049d31
asterinas/asterinas
1,159
asterinas__asterinas-1159
[ "975" ]
c2a83427520f8263a8eb2c36edacdba261ad5cae
"diff --git a/.github/workflows/benchmark_asterinas.yml b/.github/workflows/benchmark_asterinas.yml\(...TRUNCATED)
"diff --git a/.github/workflows/test_asterinas.yml b/.github/workflows/test_asterinas.yml\nindex 5e2(...TRUNCATED)
"ktest as a kernel\n<!-- Thank you for taking the time to propose a new idea or significant change. (...TRUNCATED)
"This proposal aims to address to problems.\r\n\r\n> * a lot of runtime needed when running ktest, w(...TRUNCATED)
2024-08-13T11:21:28Z
0.7
c2a83427520f8263a8eb2c36edacdba261ad5cae
asterinas/asterinas
1,158
asterinas__asterinas-1158
[ "1264" ]
c68302f7007225fa47f22a1085a8c59dcdae2ad4
"diff --git a/kernel/src/sched/priority_scheduler.rs b/kernel/src/sched/priority_scheduler.rs\nindex(...TRUNCATED)
"diff --git a/osdk/tests/examples_in_book/write_a_kernel_in_100_lines_templates/lib.rs b/osdk/tests/(...TRUNCATED)
"Sporadic SMP syscall test aborts\n<!-- Thank you for taking the time to report a bug. Your input is(...TRUNCATED)
2024-08-13T09:28:07Z
0.8
ae4ac384713e63232b74915593ebdef680049d31
asterinas/asterinas
1,138
asterinas__asterinas-1138
[ "1135" ]
6414111cc57b42db2bae1a0c8b01b85c3830a3b3
"diff --git a/osdk/src/commands/new/mod.rs b/osdk/src/commands/new/mod.rs\nindex 1c5c386004..7d4b9b0(...TRUNCATED)
"diff --git a/osdk/tests/cli/mod.rs b/osdk/tests/cli/mod.rs\nindex ed909baaf0..4a7fbc1fda 100644\n--(...TRUNCATED)
"OSDK should support creating crate with `-` in its name\nAs discovered by #1133, `cargo osdk new --(...TRUNCATED)
2024-08-08T01:38:09Z
0.6
6414111cc57b42db2bae1a0c8b01b85c3830a3b3
asterinas/asterinas
1,125
asterinas__asterinas-1125
[ "1106" ]
d04111079cb8edf03d9a58b2bd88d4af4b11543a
"diff --git a/kernel/aster-nix/src/prelude.rs b/kernel/aster-nix/src/prelude.rs\nindex dfff76268f..4(...TRUNCATED)
"diff --git a/osdk/tests/examples_in_book/write_a_kernel_in_100_lines_templates/lib.rs b/osdk/tests/(...TRUNCATED)
"Lockless mutability for current task data.\n**This is currently a work-in-progress RFC**\r\n\r\n<!-(...TRUNCATED)
"Let's say we have a function `foo` with `#[code_context::task]` attribute. How would this `foo` fun(...TRUNCATED)
2024-08-03T03:09:32Z
0.6
6414111cc57b42db2bae1a0c8b01b85c3830a3b3
asterinas/asterinas
1,098
asterinas__asterinas-1098
[ "819" ]
e83e1fc01ba38ad2a405d7d710ec7258fb664f60
"diff --git a/kernel/aster-nix/src/net/iface/any_socket.rs b/kernel/aster-nix/src/net/iface/any_sock(...TRUNCATED)
"diff --git a/test/apps/network/listen_backlog.c b/test/apps/network/listen_backlog.c\nindex 9491891(...TRUNCATED)
"Polling ifaces may not ensure packets be transmitted\nThe problem occurs when I trying to send two (...TRUNCATED)
2024-07-26T01:51:02Z
0.6
6414111cc57b42db2bae1a0c8b01b85c3830a3b3
asterinas/asterinas
1,073
asterinas__asterinas-1073
[ "1069" ]
5aa28eae7e14594bbe68827114443b31002bf742
"diff --git a/osdk/src/base_crate/x86_64.ld.template b/osdk/src/base_crate/x86_64.ld.template\nindex(...TRUNCATED)
"diff --git a/.github/workflows/test_asterinas.yml b/.github/workflows/test_asterinas.yml\nindex 414(...TRUNCATED)
"CPU local memory is used before initialized\nThe use (in `ostd`):\r\n`init` → `mm::heap_allocator(...TRUNCATED)
"Modifying `ostd::arch::x86::cpu::get_cpu_local_base` to\r\n``` rust\r\n/// Gets the base address fo(...TRUNCATED)
2024-07-19T13:26:35Z
0.6
6414111cc57b42db2bae1a0c8b01b85c3830a3b3
asterinas/asterinas
1,026
asterinas__asterinas-1026
[ "681" ]
94eba6d85eb9e62ddd904c1132d556b808cc3174
"diff --git a/kernel/aster-nix/src/vm/vmar/vm_mapping.rs b/kernel/aster-nix/src/vm/vmar/vm_mapping.r(...TRUNCATED)
"diff --git a/osdk/tests/examples_in_book/write_a_kernel_in_100_lines_templates/lib.rs b/osdk/tests/(...TRUNCATED)
"The APIs of `VmSpace` are vulnerable to race conditions\n```rust\r\n#[derive(Debug, Clone)]\r\npub (...TRUNCATED)
2024-07-04T11:40:07Z
0.6
6414111cc57b42db2bae1a0c8b01b85c3830a3b3
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
3