|
@@ -2042,7 +2042,6 @@ static void spin(struct pktgen_dev *pkt_dev, __u64 spin_until_us)
|
|
__u64 now;
|
|
__u64 now;
|
|
|
|
|
|
start = now = getCurUs();
|
|
start = now = getCurUs();
|
|
- printk(KERN_INFO "sleeping for %d\n", (int)(spin_until_us - now));
|
|
|
|
while (now < spin_until_us) {
|
|
while (now < spin_until_us) {
|
|
/* TODO: optimize sleeping behavior */
|
|
/* TODO: optimize sleeping behavior */
|
|
if (spin_until_us - now > jiffies_to_usecs(1) + 1)
|
|
if (spin_until_us - now > jiffies_to_usecs(1) + 1)
|