Displaying 20 results from an estimated 5000 matches similar to: "Mechanism for Enqueue and Dequeue?"
2019 Jul 18
1
[PATCH v3 2/2] balloon: fix up comments
On Thursday, July 18, 2019 8:24 PM, Michael S. Tsirkin wrote:
> /*
> * balloon_page_alloc - allocates a new page for insertion into the balloon
> - * page list.
> + * page list.
> *
> - * Driver must call it to properly allocate a new enlisted balloon page.
> - * Driver must call balloon_page_enqueue before definitively removing it
> from
> - * the guest
2002 Oct 20
1
Can I allocate memory dynamically when enqueue or dequeue? (adding some algorithms in kernel)
Hi, I''m adding a queuing disc. inside kernel. I am
confused that it seems few other qdiscs allocate
memory dynamically. Is it invalid to use memory calls
like molloc or just a suggest that do not use it
often? Thanks for your help. bon
-----------------------------------------------------------------
< 每天都 Yahoo!奇摩 > www.yahoo.com.tw
2002 May 05
16
More on qdiscs
I notice one other small problem with my modified version of SFQ.
The fact that packets can be dropped at dequeue time is incompatible
with the way HTB (and probably CBQ and others modeled on it) keep
statistics. When I fill a low rate queue causing packets to expire
and be dropped at dequeue I get interesting statistics like this:
This is my variant of SFQ
qdisc plfq 8016: dev eth1
...
Sent
2004 Apr 15
6
When the inside functions of a sfq are called ?
I read the sched/qdiscs code from kernel source ... and I have some
questions :
When the .enqueue, .dequeue, .drop, .requeue functions are called ? What
is the event that triggers them and how often this event apears ( per
second ? ) ? When a qdisc is dequeued ( when it''s limit is reached ) ?
Thanks
_______________________________________________
LARTC mailing list /
2019 Jul 18
0
[PATCH v4 2/2] balloon: fix up comments
Lots of comments bitrotted. Fix them up.
Fixes: 418a3ab1e778 (mm/balloon_compaction: List interfaces)
Reviewed-by: Wei Wang <wei.w.wang at intel.com>
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
---
fixes since v3:
teaks suggested by Wei
mm/balloon_compaction.c | 71 ++++++++++++++++++++++-------------------
1 file changed, 39 insertions(+), 32 deletions(-)
diff --git
2019 Jul 18
0
[PATCH v3 2/2] balloon: fix up comments
Lots of comments bitrotted. Fix them up.
Fixes: 418a3ab1e778 (mm/balloon_compaction: List interfaces)
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
---
mm/balloon_compaction.c | 73 +++++++++++++++++++++++------------------
1 file changed, 41 insertions(+), 32 deletions(-)
diff --git a/mm/balloon_compaction.c b/mm/balloon_compaction.c
index d25664e1857b..9cb03da5bcea 100644
---
2019 Jul 18
2
[PATCH v3 1/2] mm/balloon_compaction: avoid duplicate page removal
From: Wei Wang <wei.w.wang at intel.com>
A #GP is reported in the guest when requesting balloon inflation via
virtio-balloon. The reason is that the virtio-balloon driver has
removed the page from its internal page list (via balloon_page_pop),
but balloon_page_enqueue_one also calls "list_del" to do the removal.
This is necessary when it's used from balloon_page_enqueue_list,
2019 Jul 18
2
[PATCH v4 1/2] mm/balloon_compaction: avoid duplicate page removal
From: Wei Wang <wei.w.wang at intel.com>
A #GP is reported in the guest when requesting balloon inflation via
virtio-balloon. The reason is that the virtio-balloon driver has
removed the page from its internal page list (via balloon_page_pop),
but balloon_page_enqueue_one also calls "list_del" to do the removal.
This is necessary when it's used from balloon_page_enqueue_list,
2005 Sep 30
1
Dequeue
Hi,
Does the ''tc'' tool show dequeue statistics? If so what switches does one
use to see this.
If not which is the best way to see these statistics?
Thanks.
2004 Jan 29
5
Question(s) for the programming gurus
Hi all.
I''m quite new to the concepts of the "traffic control" framework, and
I''ve got a programming-related question. Hopefully someone has the answer...
Is it possible, either for the device driver itself or for a userspace
program, to get information about how many packets are currently queued
for a given network interface?
Let''s describe it a little
2019 Jul 18
1
[PATCH v5 1/2] mm/balloon_compaction: avoid duplicate page removal
From: Wei Wang <wei.w.wang at intel.com>
A #GP is reported in the guest when requesting balloon inflation via
virtio-balloon. The reason is that the virtio-balloon driver has
removed the page from its internal page list (via balloon_page_pop),
but balloon_page_enqueue_one also calls "list_del" to do the removal.
This is necessary when it's used from balloon_page_enqueue_list,
2019 Apr 24
1
[PATCH v3 1/4] mm/balloon_compaction: list interfaces
On Tue, Apr 23, 2019 at 04:45:28PM -0700, Nadav Amit wrote:
> Introduce interfaces for ballooning enqueueing and dequeueing of a list
> of pages. These interfaces reduce the overhead of storing and restoring
> IRQs by batching the operations. In addition they do not panic if the
> list of pages is empty.
>
> Cc: "Michael S. Tsirkin" <mst at redhat.com>
> Cc:
2005 Jan 04
4
Scheduler Mechnisms!
Hello,
Normally, in addition to such qdisc scheduler mechanisms as FIFO, PQ, WRR, WFQ,
are there any more? Then, there is a confusion on scheduler in Linux enviroment:
Assume there is a qdisc, such as RED as a leaf qdisc in a router, we know, if
there is packet which want to enqueue the packet, the Function red_enqueue is
called, but when the packet leave the queue(when the Function red_dequeue
2018 Feb 15
0
[PATCH v2 0/6] crypto: engine - Permit to enqueue all async requests
On Fri, Jan 26, 2018 at 08:15:28PM +0100, Corentin Labbe wrote:
> Hello
>
> The current crypto_engine support only ahash and ablkcipher request.
> My first patch which try to add skcipher was Nacked, it will add too many functions
> and adding other algs(aead, asymetric_key) will make the situation worst.
>
> This patchset remove all algs specific stuff and now only process
2017 Dec 06
0
[PATCH RFC 0/4] crypto: engine - Permit to enqueue all async requests
Hi Corentin,
I am fine with this proposal: it is generic enough and I have been able
to test and run the crypto engine with aead_request without changing any
single line of code.
This is what I need to be able to send the AEAD extension of the
stm32-cryp driver (successfully tested with your engine upgrade proposal).
I have also tested the stm32-hash patch.
Note that stm32-cryp (new
2018 Feb 16
1
[PATCH v2 0/6] crypto: engine - Permit to enqueue all async requests
On Thu, Feb 15, 2018 at 11:51:00PM +0800, Herbert Xu wrote:
> On Fri, Jan 26, 2018 at 08:15:28PM +0100, Corentin Labbe wrote:
> > Hello
> >
> > The current crypto_engine support only ahash and ablkcipher request.
> > My first patch which try to add skcipher was Nacked, it will add too many functions
> > and adding other algs(aead, asymetric_key) will make the
2019 May 17
2
[PATCH v4 0/4] vmw_balloon: Compaction and shrinker support
> On May 3, 2019, at 6:25 PM, Nadav Amit <namit at vmware.com> wrote:
>
>> On Apr 25, 2019, at 4:54 AM, Nadav Amit <namit at vmware.com> wrote:
>>
>> VMware balloon enhancements: adding support for memory compaction,
>> memory shrinker (to prevent OOM) and splitting of refused pages to
>> prevent recurring inflations.
>>
>> Patches
2019 May 17
2
[PATCH v4 0/4] vmw_balloon: Compaction and shrinker support
> On May 3, 2019, at 6:25 PM, Nadav Amit <namit at vmware.com> wrote:
>
>> On Apr 25, 2019, at 4:54 AM, Nadav Amit <namit at vmware.com> wrote:
>>
>> VMware balloon enhancements: adding support for memory compaction,
>> memory shrinker (to prevent OOM) and splitting of refused pages to
>> prevent recurring inflations.
>>
>> Patches
2003 Jun 09
4
Some questions remaining about TC
Hello everybody,
I try to work with TC for a little while in my study and there still are a few
questions that I can\''t find any answer anywhere.
Firts about qdisc and classes:
- What is exactly the difference between qdsic and class ? They are
so \"intimately tied together\" that i\''m not sure not make the difference. Why
can\''t we have a qdsic HTB with
2012 Jun 22
2
[LLVMdev] Extending llvm with data types which can be accessible only through interfaces.
Hi LLVM-Dev Team,
I am a graduate student working on compilation for heterogeneous multi-cores.
As a part of my project, I need to extend llvm by adding a new data
type for a commonly used data structure like queue.
Could you please mention if there been any prior work on extending the
llvm frontend to accommodate these kind of new data types and parse it
to get LLVM-IR.
Can you also advice on