On Jul 18 2016 or thereabouts, Jean Delvare wrote:
> [As it doesn't look like this message was delivered, I am sending it
> again. I apologize if this is a duplicate for some of you.]
>
> Hi Benjamin, Wolfram,
>
> Sorry for being late to the party. I finally found some time to look at
> the patch
When building with CONFIG_SMP disabled, we get some new harmless warnings:
drivers/irqchip/irq-armada-370-xp.c:356:12: error: 'mpic_cascaded_starting_cpu'
defined but not used [-Werror=unused-function]
static int mpic_cascaded_starting_cpu(unsigned int cpu)
^~
Using "make tinyconfig" produces a couple of annoying warnings that show up
for build test machines all the time:
.config:966:warning: override: NOHIGHMEM changes choice state
.config:965:warning: override: SLOB changes choice state
.config:963:warning: override: KERNEL_XZ changes choi
> >
> > It is a big challenge to get good network performance. First, the
> > network performance is not good with default system settings. Second,
> > it is too difficult to do automatic tuning for all possible workloads,
> > since workloads have different requirements. Some workloads may want
>
On Mon, 2016-07-18 at 09:53 +0200, Benjamin Tissoires wrote:
>
> I don't think this is a good solution to have a kernel parameter. I
> thought the final decision were to have userspace decide which event
> was valid, and so we just need to export and emit both of events.
>
> _If_ you export a ke
On Mon, 18 Jul 2016, One Thousand Gnomes wrote:
> On Sun, 17 Jul 2016 23:31:56 -0400
> Nicolas Pitre wrote:
>
> > Let's take the simple and obvious approach by decompressing the binary
> > into a kernel buffer and then copying it to user space. Those who are
> > looking for more performance on
On 16/07/16 01:32, Rafael J. Wysocki wrote:
On Friday, July 08, 2016 06:07:53 PM Sudeep Holla wrote:
ACPI 6.0 introduced an optional object _LPI that provides an alternate
method to describe Low Power Idle states. It defines the local power
states for each node in a hierarchical processor topo
On Monday, July 18, 2016 5:31 PM, Konrad Rzeszutek Wilk wrote:
> We found that your patch in the automated Xen test-case ends up
> OOMing the box when trying to install guests. This worked prior
> to your patch.
>
> See serial log:
> http://logs.test-lab.xenproject.org/osstest/logs/97597/test-amd64
> It seems strange to me to add such policies to the kernel.
> Addmittingly, documentation of some settings is non-existent and one needs
> various different tools to set this (sysctl, procfs, sysfs, ethtool, etc).
The problem is that different applications need different policies.
The only entit
Hi Heiko:
I use GPLv2 because of it looks more shorter, anyway I am back to allow
X11 now. The modification request of io-domain have been included.
Thank you for reviewing.
Randy Li (1):
ARM: dts: add rk3288-firefly-reload
Documentation/devicetree/bindings/arm/rockchip.txt | 4 +
arch/arm
On Mon, Jul 18, 2016 at 01:22:54PM +0200, Vlastimil Babka wrote:
> Hi,
>
> this is the splitted-off first part of my "make direct compaction more
> deterministic" series [1], rebased on mmotm-2016-07-13-16-09-18. For the whole
> series it's probably too late for 4.8 given some unresolved feedback,
Just about all of amdgpu's connector probing functions try to acquire
runtime PM refs. If we try to do this in the context of
amdgpu_resume_kms by calling drm_helper_hpd_irq_event(), we end up
deadlocking the system.
Since we're guaranteed to be holding the spinlock for RPM in
amdgpu_resume_kms, a
The Firefly RK3288 Reload is a combination Firefly rk3288 core board
with the Reload baseboard. Add a dtsi for the Firefly rk3288 core
which can be included into the dts for the various baseboards
in the future and dts for Reload base board.
Currently supported are serial console, wired networking
Hey Lukasz,
We found that your patch in the automated Xen test-case ends up
OOMing the box when trying to install guests. This worked prior
to your patch.
See serial log:
http://logs.test-lab.xenproject.org/osstest/logs/97597/test-amd64-i386-qemut-rhel6hvm-amd/serial-pinot0.log
Would it be OK to
On Mon, 2016-07-18 at 13:26 +0200, Thierry Reding wrote:
> Hi,
>
> I've run across what I think is a false positive for checkpatch's
> UNNECESSARY_ELSE check. The code that triggers it is in the
> tegra_sor_probe() function in drivers/gpu/drm/tegra/sor.c. For
> reference, here's the code:
>
>
From: "Leonidas S. Barbosa"
This patch add XTS support using VMX-crypto driver.
Signed-off-by: Leonidas S. Barbosa
Signed-off-by: Paulo Flabiano Smorigo
---
drivers/crypto/vmx/Makefile | 2 +-
drivers/crypto/vmx/aes_xts.c | 190 +++
drivers/crypto/vm
This patch add XTS subroutines using VMX-crypto driver.
It gives a boost of 20 times using XTS.
These code has been adopted from OpenSSL project in collaboration
with the original author (Andy Polyakov ).
Signed-off-by: Leonidas S. Barbosa
Signed-off-by: Paulo Flabiano Smorigo
---
drivers/cry
> kvm is pretty noisy when you have guests poking at MSRs that the kernel
> doesn't implement. The conveniently named 'ignore_msrs' option initially
> seemed
> like it was what I was looking for, but it changes the printk instead
> of eliding it.
>
> Untested patch below converts ignore_msrs to
> On Jul 11, 2016, at 1:18 PM, James Simmons wrote:
>
> > With the move to iov_iter handling two issues merged
> > for the ko2iblnd driver. The first fix address a simple
> > typo of the wrong flag being used with iov_iter_kvec.
> > The second fix adds the payload offset to the payload
> > size.
Hi Wim, Guenter,
Great thanks for your help :-)
On 18 July 2016 at 03:51, Wim Van Sebroeck wrote:
> Hi Fu,
>
>> From: Fu Wei
>>
>> This patchset:
>> (1)Try to fix an issue about min and max timeout validity check:
>> when max_hw_heartbeat_ms is defined, this check should be skipped.
>>
On Mon, 18 Jul 2016 22:01:29 +0800
Minfei Huang wrote:
> We do a lot of memory allocation in function init_vq, and don't handle
> the allocation failure properly. Then this function will return 0,
> although initialization fails due to lacking memory. At that moment,
> kernel will panic in guest
CC Dave Chinner, who I recall had strong opinions on the mempool model
The context is commit f9054c7 ("mm, mempool: only set __GFP_NOMEMALLOC
if there are free elements"), which gives MEMALLOC/TIF_MEMDIE mempool
allocations access to the system emergency reserves when there is no
reserved object c
kan.li...@intel.com wrote:
> From: Kan Liang
>
> It is a big challenge to get good network performance. First, the network
> performance is not good with default system settings. Second, it is too
> difficult to do automatic tuning for all possible workloads, since workloads
> have different req
On Mon, Jul 18, 2016 at 02:48:42PM +0200, Vincent Guittot wrote:
> On 15 July 2016 at 18:02, Morten Rasmussen wrote:
> > On Fri, Jul 15, 2016 at 03:39:05PM +0200, Vincent Guittot wrote:
> >> On 15 July 2016 at 13:46, Morten Rasmussen
> >> wrote:
> >> > On Thu, Jul 14, 2016 at 04:15:20PM +0100, M
On Mon, Jul 18, 2016 at 4:14 PM, Oliver Neukum wrote:
>> Ok, sounds good. So far, I have only seen the random MAC issue with
>> the three previously mentioned devices, but who knows how many else is
>> out there with the same error ... I don't think it should be in the
>> core ethernet code, at le
[RE: [PATCH v6 1/3] x86/platform/p2sb: New Primary to Sideband bridge support
driver for Intel SOC's] On 18/07/2016 (Mon 03:35) Tan, Jui Nee wrote:
[...]
> > > +
> > > + return 0;
> > > +}
> > > +EXPORT_SYMBOL(p2sb_bar);
> > > +
> > > +MODULE_LICENSE("GPL");
> >
> > ...the above is the on
On Mon, Jul 18, 2016 at 04:30:18PM +0200, Jiri Olsa wrote:
> On Fri, Jul 15, 2016 at 11:08:13AM +0100, Mark Rutland wrote:
> > For system PMUs, the perf tools have long expected a cpumask file under
> > sysfs, describing the single CPU which they support events being
>
> single cpu? it's cpumask..
On Jul 14 2016 or thereabouts, Ping Cheng wrote:
> On Wed, Jul 13, 2016 at 9:05 AM, Benjamin Tissoires
> wrote:
> > The type is never set but we check for it in wacom_wireless_irq().
>
> Type was assigned in wacom_wireless_work [1] before we moved code
> around. It somehow failed to get into waco
This is another round of fixups to the node-lru series. The most important
patch is the last one which deals with a highmem accounting issue.
include/linux/mm_inline.h | 8 ++--
mm/vmscan.c | 25 +++--
2 files changed, 13 insertions(+), 20 deletions(-)
--
As pointed out by Minchan Kim, shrink_zones() checks for populated
zones in a zonelist but a zonelist can never contain unpopulated
zones. While it's not related to the node-lru series, it can be
cleaned up now.
Suggested-by: Minchan Kim
Signed-off-by: Mel Gorman
---
mm/vmscan.c | 3 ---
1 file
On Jul 13 2016 or thereabouts, Andrew Duggan wrote:
> Commit 5b65c2a02966 ("HID: rmi: check sanity of the incoming report") added
> support for handling incomplete HID reports do to the input data being
> corrupted in transit. This patch reimplements this functionality in the
> function drivers so
With node-lru, the locking is based on the pgdat. As Minchan pointed
out, there is an opportunity to reduce LRU lock release/acquire in
check_move_unevictable_pages by only changing lock on a pgdat change.
Signed-off-by: Mel Gorman
---
mm/vmscan.c | 22 +++---
1 file changed, 11
As pointed out by Vlastimil, the atomic_add() functions are already assumed
to be able to handle negative numbers. The atomic_sub handling was wrong
anyway but this patch fixes it unconditionally.
This is a fix to the mmotm patch
mm-vmstat-remove-zone-and-node-double-accounting-by-approximating-re
On Jul 13 2016 or thereabouts, Andrew Duggan wrote:
> The size of relative data in F11 is already defined by RMI_F11_REL_BYTES.
> Use the define in rmi_f11_rel_pos_report() to be consistent.
>
> Signed-off-by: Andrew Duggan
> Reviewed-by: Nick Dyer
Reviewed-by: Benjamin Tissoires
> ---
> This
This driver does not do anything special in module init/exit. This patch
eliminates the module init/exit boilerplate code by utilizing the
module_isa_driver macro.
Signed-off-by: William Breathitt Gray
---
drivers/media/radio/radio-trust.c | 13 +
1 file changed, 1 insertion(+), 12 d
On Jul 13 2016 or thereabouts, Andrew Duggan wrote:
> Calling of_find_node_by_name() assumes that the caller has incremented
> the refcount of the of_node being passed in. Currently, the caller is
> not incrementing the refcount of the of_node which results in the node
> being prematurely freed whe
This driver does not do anything special in module init/exit. This patch
eliminates the module init/exit boilerplate code by utilizing the
module_isa_driver macro.
Signed-off-by: William Breathitt Gray
---
drivers/media/radio/radio-zoltrix.c | 14 +-
1 file changed, 1 insertion(+), 1
This driver does not do anything special in module init/exit. This patch
eliminates the module init/exit boilerplate code by utilizing the
module_isa_driver macro.
Signed-off-by: William Breathitt Gray
---
drivers/media/radio/radio-rtrack2.c | 13 +
1 file changed, 1 insertion(+), 12
This driver does not do anything special in module init/exit. This patch
eliminates the module init/exit boilerplate code by utilizing the
module_isa_driver macro.
Cc: Hans Verkuil
Signed-off-by: William Breathitt Gray
---
drivers/media/radio/radio-aimslab.c | 13 +
1 file changed,
On Friday 15 July 2016 08:45 PM, Kevin Hilman wrote:
> Arnd Bergmann writes:
>
>> On Wednesday, July 13, 2016 12:59:23 PM CEST Bartlomiej Zolnierkiewicz wrote:
>>>
>>> On Friday, July 08, 2016 10:23:48 PM Arnd Bergmann wrote:
On Friday, July 8, 2016 5:24:41 PM CEST Bartlomiej Zolnierkiewicz
This driver does not do anything special in module init/exit. This patch
eliminates the module init/exit boilerplate code by utilizing the
module_isa_driver macro.
Cc: Hans Verkuil
Signed-off-by: William Breathitt Gray
---
drivers/media/radio/radio-aztech.c | 13 +
1 file changed, 1
This driver does not do anything special in module init/exit. This patch
eliminates the module init/exit boilerplate code by utilizing the
module_isa_driver macro.
Signed-off-by: William Breathitt Gray
---
drivers/media/radio/radio-terratec.c | 14 +-
1 file changed, 1 insertion(+),
The module_isa_driver macro is a helper macro for ISA drivers which do
not do anything special in module init/exit. This patchset eliminates a
lot of ISA driver registration boilerplate code by utilizing
module_isa_driver, which replaces module_init and module_exit.
William Breathitt Gray (6):
r
On Mon, Jul 18, 2016 at 04:10:36PM +0200, SF Markus Elfring wrote:
> From: Markus Elfring
> Date: Mon, 18 Jul 2016 16:06:18 +0200
>
> The ttm_tt_destroy() function tests whether its argument is NULL
> and then returns immediately. Thus the test around the call is not needed.
>
> This issue was d
From: Kan Liang
Net policy also needs to know CPU information. Currently, online
CPU number is enough.
Signed-off-by: Kan Liang
---
net/core/netpolicy.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/net/core/netpolicy.c b/net/core/netpolicy.c
index 7c34c8a..075aaca 100644
--- a/net/
From: Kan Liang
This patch tries to initialize NET policy for all the devices in the
system. However, not all device drivers have NET policy support. For
those drivers who does not have NET policy support, the node will not be
showed in /proc/net/netpolicy/.
The device driver who has NET policy s
From: Kan Liang
This patch introduce NET policy subsystem. If proc is supported in the
system, it creates netpolicy node in proc system.
Signed-off-by: Kan Liang
---
include/linux/netdevice.h | 7 +++
include/net/net_namespace.h | 3 ++
net/Kconfig | 7 +++
net/core/Mak
From: Kan Liang
Implement ndo_get_irq_info in i40e driver to get irq information of rx
and tx queues.
Signed-off-by: Kan Liang
---
drivers/net/ethernet/intel/i40e/i40e_main.c | 40 +
1 file changed, 40 insertions(+)
diff --git a/drivers/net/ethernet/intel/i40e/i40e
From: Kan Liang
This patch introduces functions to enable and disable net policy.
For enabling, it collects device and cpu information, setup cpu/queue
mapping, and set irq affinity accordingly.
For disabling, it removes the irq affinity and mapping information.
np_lock should protect the enable
The spdif mclk should be 128 times of sample rate, and there is a
internal divider, the real rate of spdif mclk is mclk / (div + 1).
Hence, the original driver always get the good frequency for
48000/96000/44100/192000. But for 32000, the mclk is incorrect,
it should be 32000*128, but get 48000*128
From: Kan Liang
Current implementation forces CPU and queue 1:1 mapping. This patch
introduces the function netpolicy_update_sys_map to create this mapping.
The result is stored in netpolicy_sys_info.
If the CPU count and queue count are different, the remaining
CPUs/queues are not used.
CPU hotp
On Fri, Jul 15, 2016 at 11:08:10AM +0100, Mark Rutland wrote:
> In create_perf_stat_counter, when a target CPU has not been provided, we
> call __perf_evsel__open with empty_cpu_map, and open a single FD per
> thread. However, in read_counter we assume that we opened events for
> the product of thr
From: Kan Liang
This patches introduces functions to set and remove irq affinity
according to cpu and queue mapping.
The functions will not record the previous affinity status. After a
set/remove cycles, it will set the affinity on all online cpu with irq
balance enabling.
Signed-off-by: Kan Lia
On Fri, Jul 15, 2016 at 11:08:11AM +0100, Mark Rutland wrote:
> In some cases it's necessry to figure out the map-local index of a given
> Linux logical CPU ID. Add a new helper, cpu_map__idx, to acquire this.
> As the logic is largely the same as the existing cpu_map__has, this is
> rewritten in t
Just like the 3405 quirk added in commit d3d2ab43ddae ("PCI: Add DMA
alias quirk for Adaptec 3405").
Signed-off-by: Alex Williamson
Link: https://www.redhat.com/archives/vfio-users/2016-July/msg00046.html
---
drivers/pci/quirks.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/
From: Kan Liang
Support net device up/down/namechange in the netpolicy code.
Signed-off-by: Kan Liang
---
net/core/netpolicy.c | 66 +---
1 file changed, 58 insertions(+), 8 deletions(-)
diff --git a/net/core/netpolicy.c b/net/core/netpolicy.c
i
On Fri, Jul 15, 2016 at 11:08:12AM +0100, Mark Rutland wrote:
> In systems with heterogeneous CPU PMUs, it's possible for each evsel to
> cover a distinct set of CPUs, and hence the cpu_map associated with each
> evsel may have a distinct idx<->id mapping. Any of these may be distinct from
> the ev
Hi Benjamin, Wolfram,
Now that I have reviewed the i2c-i801 part of the implementation, I'm
wondering...
On Thu, 9 Jun 2016 16:53:48 +0200, Benjamin Tissoires wrote:
> +/**
> + * i2c_setup_smbus_host_notify - Allocate a new smbus_host_notify for the
> given
> + * I2C adapter.
> + * @adapter: th
From: Kan Liang
Support ndo_netpolicy_init in i40e driver.
For i40e driver, there is no extra initialization work to do. It only
needs to update the available policy bitmap.
policy_param will be filled according to different policies later.
Signed-off-by: Kan Liang
---
drivers/net/ethernet/int
From: Kan Liang
For CPU hotplug, the net policy module will rebuild the sys map and
object list.
Signed-off-by: Kan Liang
---
net/core/netpolicy.c | 78
1 file changed, 78 insertions(+)
diff --git a/net/core/netpolicy.c b/net/core/netpolicy
From: Kan Liang
Enable i40e MIX policy support. Based on the test, the MIX policy has
better performance if increasing rx interrupt moderation a little bit.
For evaluating the MIX policy performance, mixed workloads are tested.
The mixed workloads are combination of throughput-first workload and
From: Kan Liang
User can write policy name to /proc/net/netpolicy/$DEV/policy to enable
net policy for specific device.
When the policy is enabled, the module automatically disables irq
balance and set irq affinity. The object list is also generated
accordingly.
np_lock will be used to protect
From: Kan Liang
It is a big challenge to get good network performance. First, the network
performance is not good with default system settings. Second, it is too
difficult to do automatic tuning for all possible workloads, since workloads
have different requirements. Some workloads may want high
From: Kan Liang
Net policy needs to know device information. Currently, it's enough to
only get irq information of rx and tx queues. This patch
introduces ndo_get_irq_info to do so.
Signed-off-by: Kan Liang
---
include/linux/netdevice.h | 5 +
include/linux/netpolicy.h | 7 +++
net/c
From: Kan Liang
User can register itself in netpolicy module with specific policy.
If it's the first time to register, an record will be created and
inserted into RCU hash table. The record includes ptr, policy and object
information. ptr is assigned by the user which is used as key to search
the
From: Kan Liang
This patch introduces the concept of netpolicy object and policy object
list.
The netpolicy object is the instance of CPU/queue mapping. The object
can be shared between different tasks/sockets. So besides CPU and queue
information, the object also maintains a reference counter.
On Mon, Jul 18, 2016 at 4:14 PM, Oliver Neukum wrote:
>> Ok, sounds good. So far, I have only seen the random MAC issue with
>> the three previously mentioned devices, but who knows how many else is
>> out there with the same error ... I don't think it should be in the
>> core ethernet code, at le
Signed-off-by: Martin Kepplinger
---
drivers/input/tablet/pegasus_notetaker.c | 26 ++
1 file changed, 18 insertions(+), 8 deletions(-)
diff --git a/drivers/input/tablet/pegasus_notetaker.c
b/drivers/input/tablet/pegasus_notetaker.c
index 83aa583..27cb352 100644
--- a/dr
On Jul 17 2016 or thereabouts, Mikko Perttunen wrote:
> From: Mikko Perttunen
>
> The FutureMax Dance Mat claims to be a SixAxis controller
> but breaks if descriptor fixups are applied. Detect the
> device using its USB product string and disable fixups
> when it is detected.
>
> Signed-off-by:
Signed-off-by: Martin Kepplinger
---
drivers/input/tablet/pegasus_notetaker.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/input/tablet/pegasus_notetaker.c
b/drivers/input/tablet/pegasus_notetaker.c
index fdbc5e8..07436c6 100644
--- a/drivers/input/tablet/pegasus_notetaker.c
+++ b
Signed-off-by: Martin Kepplinger
---
drivers/input/tablet/pegasus_notetaker.c | 19 +++
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/drivers/input/tablet/pegasus_notetaker.c
b/drivers/input/tablet/pegasus_notetaker.c
index 27cb352..fdbc5e8 100644
--- a/drivers/i
On Fri, Jul 15, 2016 at 11:08:13AM +0100, Mark Rutland wrote:
> For system PMUs, the perf tools have long expected a cpumask file under
> sysfs, describing the single CPU which they support events being
single cpu? it's cpumask..
> opened/handled on. Prior patches in this series have reworked th
From: Kan Liang
Users may not want to change the source code to add per task net polic
support. Or they may want to change a running task's net policy. prctl
does not work for both cases.
This patch adds an interface in /proc, which can be used to set and
retrieve policy of already running tasks
[linux-next: build failure after merge of the tip tree] On 18/07/2016 (Mon
18:29) Stephen Rothwell wrote:
> Hi all,
>
> After merging the tip tree, today's linux-next build (x86_64 allnoconfig)
> failed like this:
>
> In file included from arch/x86/kernel/x8664_ksyms_64.c:10:0:
> arch/x86/inclu
On Tue, 12 Jul 2016 12:05:59 +0200
"Jerome Marchand" wrote:
> Commit 795ae7a0de6b ("mm: scale kswapd watermarks in proportion to
> memory") properly added the description of the new knob to
> Documentation/sysctl/vm.txt, but forgot to add it to the list of files
> in /proc/sys/vm. Let's fix that.
From: Kan Liang
When the device tries to transmit a buffer, netdev_pick_tx is called to
find the available tx queues. This patch checks the per socket net
policy of the binding socket of the buffer. If net policy is set, it
picks up the assigned tx queue from net policy module, and redirect the
t
From: Kan Liang
This function will be used to get assigned queues by policy and ptr.
If it's first time, get_avail_queue will be called to find the available
object from the given policy object list.
Signed-off-by: Kan Liang
---
include/linux/netpolicy.h | 5 ++
net/core/netpolicy.c | 1
From: Kan Liang
Introduce three net policies for i40e driver.
CPU policy: configure for higher throughput and lower CPU%.
BULK policy: configure for highest throughput.
LATENCY policy: configure for lowest latency.
Lots of tests are done for net policy on platforms with Intel Xeon E5 V2
and XL71
From: Kan Liang
The existing special location RX_CLS_LOC_ANY flag is designed for the
case which the caller does not know/care about the location. Now, this
flag is only handled in ethtool user space. If the kernel directly calls
the ETHTOOL_SRXCLSRLINS interface with RX_CLS_LOC_ANY flag set, it
On Mon, Jul 18, 2016 at 01:11:22PM +0100, Mel Gorman wrote:
> The all_unreclaimable logic is related to the number of pages scanned
> but currently pages skipped contributes to pages scanned. That is one
> possibility. The other is that if all pages scanned are skipped then the
> OOM killer can bel
From: Kan Liang
User can uses ethtool to set the channel number. This patch handles the
channel changes by rebuilding the object list.
Signed-off-by: Kan Liang
---
include/linux/netpolicy.h | 8
net/core/ethtool.c| 8 +++-
net/core/netpolicy.c | 1 +
3 files changed,
Signed-off-by: Martin Kepplinger
---
drivers/input/tablet/pegasus_notetaker.c | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/drivers/input/tablet/pegasus_notetaker.c
b/drivers/input/tablet/pegasus_notetaker.c
index 07436c6..b172247 100644
--- a/drivers/input/t
From: Kan Liang
The network socket is the most basic unit which control the network
traffic. This patch introduces a new socket option SO_NETPOLICY to
set/get net policy for socket. so that the application can set its own
policy on socket to improve the network performance.
Per socket net policy
From: Kan Liang
For setting rx queues, this patch add rules for Flow Director filters.
Since we may not get all the information required for rule until the
first package arrived, it will add the rule after recvmsg. The first
several packages may not use the assigned queue.
The dev information wil
From: Kan Liang
Usually, application as a whole has specific requirement. Applying the
net policy to all sockets one by one in the application is too complex.
This patch introduces per task net policy to address this case.
Once the per task net policy is applied, all the sockets in the
applicatio
From: Kan Liang
Some drivers like i40e driver does not support separate tx and rx queues
as channels. Using rx queue to stand for the channels, if queue_pair is
set by driver.
Signed-off-by: Kan Liang
---
drivers/net/ethernet/intel/i40e/i40e_main.c | 3 +++
include/linux/netpolicy.h
From: Kan Liang
Signed-off-by: Kan Liang
---
Documentation/networking/netpolicy.txt | 158 +
1 file changed, 158 insertions(+)
create mode 100644 Documentation/networking/netpolicy.txt
diff --git a/Documentation/networking/netpolicy.txt
b/Documentation/network
From: Kan Liang
Current implementation searches the hash table to get assigned object
for each transmit/receive packet. It's not necessory, because the
assigned object usually remain unchanged.
This patch store the assigned queue into netpolicy_reg struct. So it
doesnot need to search the hash t
From: Kan Liang
NET policy can not fulfill users request without limit, because of the
security consideration and device limitation. For security
consideration, the attacker may fake millions of per task/socket request
to crash the system. For device limitation, the flow director rules
number is
From: Kan Liang
Setting net policy for all tx and rx queues according to policy name.
For i40e driver, the policy only changes per queue interrupt moderation.
It uses new ethtool callback (per queue coalesce setting) to configure
the driver.
Signed-off-by: Kan Liang
---
drivers/net/ethernet/in
From: Kan Liang
MIX policy is combine of other policies. It allows different queue has
different policy. If MIX policy is applied,
/proc/net/netpolicy/$DEV/policy shows per queue policy.
Usually, the workloads requires either high throughput or low latency.
So for current implementation, MIX poli
Hello,
On Mon, Jul 18, 2016 at 11:03:53AM +0100, Stefan Hajnoczi wrote:
> On Mon, Jul 18, 2016 at 01:37:40PM +0900, Namhyung Kim wrote:
> > From: Namhyung Kim
> >
> > Add virtio pstore device to allow kernel log files saved on the host.
> > It will save the log files on the directory given by ps
Hi,
Here's some of my thoughts on how a connector format for the DT could
be done. Sorry it's taken longer than I hoped - I've been pretty
swamped in my day job.
This is pretty early thoughts, but gives an outline of the approach I
prefer.
So.. start with an example of a board DT including a wi
On Mon, 2016-07-18 at 16:10 +0200, Kristian Evensen wrote:
> On Mon, Jul 18, 2016 at 3:50 PM, Oliver Neukum wrote:
> > No, you misunderstand me. I don't want quirks if we can avoid it.
> > But if you need to do this for rndis_host and cdc_ether and maybe other
> > drivers you should not be touchin
On Mon, Jul 18, 2016 at 09:38:43AM -0400, Theodore Ts'o wrote:
> On Mon, Jul 18, 2016 at 12:57:07PM +0200, Johannes Stezenbach wrote:
> >
> > I'm running 4.7.0-rc7 with ext4 on lvm on dm-crypt on SSD
> > and out of the blue on idle machine the following error
> > message appeared:
> >
> > [373851
Hi Ricardo,
Am Montag, den 18.07.2016, 15:21 +0200 schrieb Ricardo Ribalda Delgado:
> Hi Philipp
>
> On Mon, Jul 18, 2016 at 3:13 PM, Philipp Zabel wrote:
> > Since the constant expressions are evaluated at compile time, you are
> > not actually removing shifts. The code generated for precalcula
Hello Hans, Michael and Marek,
Thanks a lot for your feedback.
On 07/18/2016 04:34 AM, Hans Verkuil wrote:
> On 07/15/2016 06:26 PM, Javier Martinez Canillas wrote:
>> The buffer planes' dma-buf are currently mapped when buffers are queued
>> from userspace but it's more appropriate to do the map
Hi Benjamin,
Once again, sorry for the late review.
On Fri, 24 Jun 2016 16:39:49 +0200, Benjamin Tissoires wrote:
> The i801 chip can handle the Host Notify feature since ICH 3 as mentioned
> in
> http://www.intel.com/content/dam/doc/datasheet/82801ca-io-controller-hub-3-datasheet.pdf
>
> Enabl
From: Markus Elfring
Date: Mon, 18 Jul 2016 16:06:18 +0200
The ttm_tt_destroy() function tests whether its argument is NULL
and then returns immediately. Thus the test around the call is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
dr
On Mon, Jul 18, 2016 at 3:50 PM, Oliver Neukum wrote:
> No, you misunderstand me. I don't want quirks if we can avoid it.
> But if you need to do this for rndis_host and cdc_ether and maybe other
> drivers you should not be touching drivers. This belongs into the core
> ethernet code. Your code is
501 - 600 of 862 matches
Mail list logo