Skip to content

Commit 312688e

Browse files
committed
---
yaml --- r: 11791 b: refs/heads/master c: db79f3c h: refs/heads/master i: 11789: 3438f3f 11787: fbfda8b 11783: fdca1ea 11775: e39bdc9 v: v3
1 parent 47e2e9b commit 312688e

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 47bfd4f4e963b6562404748d6c5dd31b5d544386
2+
refs/heads/master: db79f3c0a54c8fe27713264cc62d89fa837f62d7
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/src/rt/circular_buffer.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ circular_buffer::dequeue(void *dst) {
139139
void
140140
circular_buffer::grow() {
141141
size_t new_buffer_sz = _buffer_sz * 2;
142-
I(kernel, new_buffer_sz <= MAX_CIRCULAR_BUFFER_SIZE);
143142
KLOG(kernel, mem, "circular_buffer is growing to %d bytes",
144143
new_buffer_sz);
145144
void *new_buffer = kernel->malloc(new_buffer_sz,

trunk/src/rt/circular_buffer.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
class
99
circular_buffer : public kernel_owned<circular_buffer> {
1010
static const size_t INITIAL_CIRCULAR_BUFFER_SIZE_IN_UNITS = 8;
11-
static const size_t MAX_CIRCULAR_BUFFER_SIZE = 1 << 24;
1211

1312
public:
1413
rust_kernel *kernel;

0 commit comments

Comments
 (0)