c9a37ccab1
Renaming concepts around pages and frames
...
This commit renames `Frame` -> `UntypedFrame` and `Page` -> `Frame`.
So do other concepts in the following list:
- `Segment` -> `UntypedSegment`,
- `ContPages` -> `Segment`,
- `DynPage` -> `AnyFrame`,
- `PageMeta` -> `FrameMeta`,
- `FrameMeta` -> `UntypedMeta`.
This commit also re-organized the source in the `mm/page` and `mm/frame`
module to accommodate the changes.
2024-12-27 12:12:51 +08:00
9a540d0fb6
Notify virtqueue in a batch manner
2024-12-19 14:49:56 +08:00
776fd6a892
Create backlog sockets on demand
2024-12-17 20:14:53 +08:00
58cf8ea681
Set keepalive and tcp_nodelay on underlying sockets
2024-12-15 16:50:43 +08:00
39a5e88baf
Protect used_ports
with LocalIrqDisabled
2024-12-12 20:50:12 +08:00
1716f4f324
Use Pollee
as the socket observer
2024-12-12 20:50:12 +08:00
fa76afb3a9
Make Ext
a trait
2024-12-12 20:50:12 +08:00
a260411a2a
Implement WriteIrqDisabled
2024-12-03 12:07:24 +08:00
80cd1b69f7
Fix lint error in cargo-component
2024-12-02 16:32:34 +08:00
495c93c2ad
Refactor Rwlock to take type parameter
2024-11-21 15:46:10 +08:00
1c1da8ea06
Don't poll ifaces if not necessary
2024-11-20 16:39:18 +08:00
fab61f5f66
Make Pollee
stateless
2024-11-20 16:39:18 +08:00
4c80367bc8
Fix CI lint error
2024-11-08 10:53:30 +08:00
9707b46c7f
Bump smoltcp version
2024-11-08 10:49:02 +08:00
c1fd09fd41
Remove TimeWait socket if a new Syn is received
2024-11-07 14:21:52 +08:00
090149eed7
Add tcp latency test over virtio-net
2024-10-14 20:59:25 +08:00
9e4257b655
Fix multiple issues pointed out by the new compiler
2024-10-13 22:32:05 +08:00
ee33216875
Fix the incorrect range in SegmentSlice
2024-10-12 19:58:10 +08:00
909639fd70
Separate SegmentSlice
from Segment
2024-10-09 19:23:46 +08:00
76d4b180d0
Increase the TCP socket buffer length
2024-09-30 20:37:57 +08:00
ee1656ba35
Move packet dispatch out of smoltcp
2024-09-30 16:00:51 +08:00
f793259512
Avoiding busy loop in sending packet and optimize device caps
2024-09-30 15:03:58 +08:00
839c2a6689
Extract shared code from timer
2024-09-30 10:02:08 +08:00
fc77c474db
Move and group methods
2024-09-26 15:22:16 +08:00
3fc396f5f1
Adjust the ephemeral port
2024-09-26 15:22:16 +08:00
eb3a033496
Refine some lock usages
2024-09-26 15:22:16 +08:00
b13a82dc61
Bump smoltcp version
2024-09-26 15:22:16 +08:00
51334c4a36
Clean up smoltcp dependencies
2024-09-26 15:22:16 +08:00
d62bb1ca76
Use static IP addresses
2024-09-26 15:22:16 +08:00
21fedd1b60
Implement atomic wrapper for integer-like type
2024-09-25 14:47:37 +08:00
aa62f0a4e6
Make field_ptr!
accept VmIoOnce
2024-09-17 17:46:56 +08:00
1b9b76d27c
Make use of new SpinLock
APIs
2024-09-13 21:31:20 +08:00
67d3682116
Move smoltcp-related code to bigtcp
2024-09-13 21:31:20 +08:00
479d98c8b9
Use (fd, file)
as the key
2024-09-13 21:02:06 +08:00
1186fb7ca9
Use SpinLock
on FileTable
for efficiency
2024-09-13 19:48:26 +08:00
86f09eef75
Fix all spelling mistakes in history by typos tool
2024-08-27 12:19:48 +08:00
d76c7a5b1e
OSDK check and clippy with cfg(ktest)
2024-08-23 23:37:50 +08:00
0291b5dc6b
Optimize the latency of lmbench-select-file
2024-08-16 11:19:29 +08:00
b1ea422efa
Fix accesses to VirtIO queue DMA
2024-08-06 11:34:15 +08:00
f86583dbce
Make essential changes for publishing OSTD
2024-07-18 18:18:05 +08:00
f675552c5a
Rename regression to test
2024-06-28 20:33:21 +08:00
3de8a9330a
Fix the OSDK CI failure
2024-06-27 15:45:49 +08:00
59350a8578
Rename aster-frame to ostd
2024-06-27 15:45:49 +08:00
05533d7afd
Fix multiple documentation issues concerned by clippy
2024-06-21 10:57:08 +08:00
18a0490e23
Respond to the cargo metadata
package ID change in comp-sys
2024-06-21 10:57:08 +08:00
952fbacaf1
Fix multiple deprecation problems
2024-06-21 10:57:08 +08:00
cda8ffa7da
Fix the usage of underscores in Cargo manifest keys
2024-06-21 10:57:08 +08:00
d6714c4b47
Fix multiple Default
implementation caveats
2024-06-21 10:57:08 +08:00
14e1b1a9fc
Rename various concepts related to memory management
2024-06-03 22:16:02 +08:00
c02eacd50c
Use deny(unsafe_code) instead of forbid(unsafe_code)
2024-05-31 16:05:58 +08:00